commit: 5e8de69d5b3d60b42a6bb26c125bf4d6431276ad
Author: Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 8 07:00:54 2017 +0000
Commit: Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Tue Aug 8 07:01:33 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e8de69d
app-backup/cdbackup: EAPI 6 bump
Package-Manager: Portage-2.3.6, Repoman-2.3.1
...cdbackup-0.7.1.ebuild => cdbackup-0.7.1-r1.ebuild} | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/app-backup/cdbackup/cdbackup-0.7.1.ebuild
b/app-backup/cdbackup/cdbackup-0.7.1-r1.ebuild
similarity index 59%
rename from app-backup/cdbackup/cdbackup-0.7.1.ebuild
rename to app-backup/cdbackup/cdbackup-0.7.1-r1.ebuild
index 6b91daebb67..7529285d9a6 100644
--- a/app-backup/cdbackup/cdbackup-0.7.1.ebuild
+++ b/app-backup/cdbackup/cdbackup-0.7.1-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+EAPI=6
+
inherit toolchain-funcs
DESCRIPTION="Allows streaming backup utilities to dump/restore from CD-R(W)s
or DVD(+/-RW)s"
@@ -15,19 +17,18 @@ IUSE=""
RDEPEND=">=app-cdr/cdrtools-1.11.28"
DEPEND=""
-src_unpack() {
- unpack ${A}
-
+src_prepare() {
sed -i -e '/cd\(backup\|restore\)/,+1 s:CFLAGS:LDFLAGS:' \
- "${S}"/Makefile || die "sed Makefile failed"
+ "${S}"/Makefile || die "sed Makefile failed"
+ default
}
src_compile() {
- emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "make failed"
+ emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)"
}
src_install() {
- dobin cdbackup cdrestore || die "dobin failed"
- doman cdbackup.1 cdrestore.1 || die "doman failed"
- dodoc CHANGES CREDITS README || die "dodoc failed"
+ dobin cdbackup cdrestore
+ doman cdbackup.1 cdrestore.1
+ dodoc CHANGES CREDITS README
}