diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:12:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:12:15 +0100 |
commit | 3f7826d8856457be233edea5999a25e374f54625 (patch) | |
tree | 7b49d251a79cf55d5e29ceb9af99308b5f037628 /backup/rsnapshot/rsnapshot-1.4.1.ebuild | |
parent | 6deea6f9112b20068bdb8e82f049e28508efac83 (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'backup/rsnapshot/rsnapshot-1.4.1.ebuild')
-rw-r--r-- | backup/rsnapshot/rsnapshot-1.4.1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/backup/rsnapshot/rsnapshot-1.4.1.ebuild b/backup/rsnapshot/rsnapshot-1.4.1.ebuild new file mode 100644 index 000000000000..c7bf113fb38b --- /dev/null +++ b/backup/rsnapshot/rsnapshot-1.4.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="A filesystem backup utility based on rsync" +HOMEPAGE="http://www.rsnapshot.org" +SRC_URI="http://www.rsnapshot.org/downloads/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="alpha amd64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=">=dev-lang/perl-5.8.2 + dev-perl/Lchown + >=sys-apps/util-linux-2.12-r4 + >=sys-apps/coreutils-5.0.91-r4 + >=net-misc/openssh-3.7.1_p2-r1 + >=net-misc/rsync-2.6.0" +DEPEND="${RDEPEND}" + +src_install() { + # Change sysconfdir to install the template file as documentation + # rather than in /etc. + emake install DESTDIR="${D}" \ + sysconfdir="${EPREFIX}/usr/share/doc/${PF}" + + dodoc README.md AUTHORS ChangeLog \ + docs/Upgrading_from_1.1 + + docinto utils + dodoc utils/{README,rsnaptar,*.sh,*.pl} + + docinto utils/rsnapshotdb + dodoc utils/rsnapshotdb/* +} + +pkg_postinst() { + elog "The template configuration file has been installed as" + elog "/usr/share/doc/${PF}/rsnapshot.conf.default" + elog "Copy and edit the the above file as /etc/rsnapshot.conf" +} |