summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-backup/cdbackup/cdbackup-0.7.1-r1.ebuild')
-rw-r--r--app-backup/cdbackup/cdbackup-0.7.1-r1.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/app-backup/cdbackup/cdbackup-0.7.1-r1.ebuild b/app-backup/cdbackup/cdbackup-0.7.1-r1.ebuild
new file mode 100644
index 000000000000..7529285d9a60
--- /dev/null
+++ b/app-backup/cdbackup/cdbackup-0.7.1-r1.ebuild
@@ -0,0 +1,34 @@
+# 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"
+HOMEPAGE="http://www.muempf.de/index.html"
+SRC_URI="http://www.muempf.de/down/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=app-cdr/cdrtools-1.11.28"
+DEPEND=""
+
+src_prepare() {
+ sed -i -e '/cd\(backup\|restore\)/,+1 s:CFLAGS:LDFLAGS:' \
+ "${S}"/Makefile || die "sed Makefile failed"
+ default
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin cdbackup cdrestore
+ doman cdbackup.1 cdrestore.1
+ dodoc CHANGES CREDITS README
+}