1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="A filesystem backup utility based on rsync"
10 HOMEPAGE="http://www.rsnapshot.org"
11 SRC_URI="http://www.rsnapshot.org/downloads/${P}.tar.gz"
15 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
17 RDEPEND=">=dev-lang/perl-5.8.2
19 >=sys-apps/util-linux-2.12-r4
20 >=sys-apps/coreutils-5.0.91-r4
21 >=net-misc/openssh-3.7.1_p2-r1
22 >=net-misc/rsync-2.6.0"
26 # Change sysconfdir to install the template file as documentation
27 # rather than in /etc.
28 emake install DESTDIR="${D}" \
29 sysconfdir="${EPREFIX}/usr/share/doc/${PF}"
31 dodoc README.md AUTHORS ChangeLog \
32 docs/Upgrading_from_1.1
35 dodoc utils/{README,rsnaptar,*.sh,*.pl}
37 docinto utils/rsnapshotdb
38 dodoc utils/rsnapshotdb/*
42 elog "The template configuration file has been installed as"
43 elog "/usr/share/doc/${PF}/rsnapshot.conf.default"
44 elog "Copy and edit the the above file as /etc/rsnapshot.conf"