diff options
author | Amy Liffey <amynka@gentoo.org> | 2017-08-08 09:00:54 +0200 |
---|---|---|
committer | Amy Liffey <amynka@gentoo.org> | 2017-08-08 09:01:33 +0200 |
commit | 5e8de69d5b3d60b42a6bb26c125bf4d6431276ad (patch) | |
tree | 5cba6e46973737b5d26c2a47ebcc804614f5b1be /app-backup/cdbackup | |
parent | www-client/vivaldi-snapshot: Old. (diff) | |
download | gentoo-5e8de69d5b3d60b42a6bb26c125bf4d6431276ad.tar.gz gentoo-5e8de69d5b3d60b42a6bb26c125bf4d6431276ad.tar.bz2 gentoo-5e8de69d5b3d60b42a6bb26c125bf4d6431276ad.zip |
app-backup/cdbackup: EAPI 6 bump
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-backup/cdbackup')
-rw-r--r-- | app-backup/cdbackup/cdbackup-0.7.1-r1.ebuild (renamed from app-backup/cdbackup/cdbackup-0.7.1.ebuild) | 19 |
1 files 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 index 6b91daebb67d..7529285d9a60 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 } |