1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils vcs-clean
8 DESCRIPTION="Reoback Backup Solution"
9 HOMEPAGE="http://reoback.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/reoback/reoback-${PV/_p/_r}.tar.gz"
14 KEYWORDS="amd64 ppc x86"
17 RDEPEND=">=dev-lang/perl-5.6.1"
18 DEPEND=">=app-arch/tar-1.13"
20 S=${WORKDIR}/${PN}-${PV/_*}
25 -e '/^config=/s:=.*:=/etc/reoback/settings.conf:' \
26 -e '/^reoback=/s:=.*:=/usr/sbin/reoback.pl:' \
27 -i run_reoback.sh || die
34 fperms o-x /usr/sbin/reoback.pl
35 insinto /etc/cron.daily
36 newins run_reoback.sh reoback
37 dodoc docs/{BUGS,CHANGES,INSTALL,MANUALS,README,TODO}
41 elog "Reoback can now be activated by simply configuring the files in"
42 elog "/etc/reoback and then doing: chmod +x /etc/cron.daily/reoback"