diff options
author | Sam James <sam@gentoo.org> | 2021-04-20 01:43:30 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-20 02:20:36 +0100 |
commit | a8cc0dc6bd0f819a8bd36eeb20743ac0deae2dfd (patch) | |
tree | 8a560727f4868a844b08cee2c98a0f42dce02bab /app-backup/reoback | |
parent | app-backup/backuppc: drop 3.3.1-r5 (diff) | |
download | gentoo-a8cc0dc6bd0f819a8bd36eeb20743ac0deae2dfd.tar.gz gentoo-a8cc0dc6bd0f819a8bd36eeb20743ac0deae2dfd.tar.bz2 gentoo-a8cc0dc6bd0f819a8bd36eeb20743ac0deae2dfd.zip |
app-backup/reoback: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-backup/reoback')
-rw-r--r-- | app-backup/reoback/reoback-1.0_p3-r1.ebuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/app-backup/reoback/reoback-1.0_p3-r1.ebuild b/app-backup/reoback/reoback-1.0_p3-r1.ebuild index fbd1b4e23e8b..67a63e15698e 100644 --- a/app-backup/reoback/reoback-1.0_p3-r1.ebuild +++ b/app-backup/reoback/reoback-1.0_p3-r1.ebuild @@ -1,26 +1,27 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 inherit vcs-clean DESCRIPTION="Reoback Backup Solution" HOMEPAGE="http://reoback.sourceforge.net/" SRC_URI="mirror://sourceforge/reoback/reoback-${PV/_p/_r}.tar.gz" +S="${WORKDIR}"/${PN}-${PV/_*} 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() { + default + ecvs_clean + sed \ -e '/^config=/s:=.*:=/etc/reoback/settings.conf:' \ -e '/^reoback=/s:=.*:=/usr/sbin/reoback.pl:' \ @@ -29,15 +30,18 @@ src_prepare() { 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" + elog "${EROOT}/etc/reoback and then doing: chmod +x ${EROOT}/etc/cron.daily/reoback" } |