diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-backup/reoback/reoback-1.0_p3-r1.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-backup/reoback/reoback-1.0_p3-r1.ebuild')
-rw-r--r-- | app-backup/reoback/reoback-1.0_p3-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app-backup/reoback/reoback-1.0_p3-r1.ebuild b/app-backup/reoback/reoback-1.0_p3-r1.ebuild new file mode 100644 index 000000000000..5333073fa6b1 --- /dev/null +++ b/app-backup/reoback/reoback-1.0_p3-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="Reoback Backup Solution" +HOMEPAGE="http://reoback.sourceforge.net/" +SRC_URI="mirror://sourceforge/reoback/reoback-${PV/_p/_r}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND=">=dev-lang/perl-5.6.1" +DEPEND=">=app-arch/tar-1.13" + +S=${WORKDIR}/${PN}-${PV/_*} + +src_prepare() { + ecvs_clean + sed \ + -e '/^config=/s:=.*:=/etc/reoback/settings.conf:' \ + -e '/^reoback=/s:=.*:=/usr/sbin/reoback.pl:' \ + -i run_reoback.sh || die +} + +src_install() { + dosbin reoback.pl + insinto /etc/reoback + doins conf/* + fperms o-x /usr/sbin/reoback.pl + insinto /etc/cron.daily + newins run_reoback.sh reoback + dodoc docs/{BUGS,CHANGES,INSTALL,MANUALS,README,TODO} +} + +pkg_postinst() { + elog "Reoback can now be activated by simply configuring the files in" + elog "/etc/reoback and then doing: chmod +x /etc/cron.daily/reoback" +} |