app-backup/cdbkup: Use eapi6 and fix dependencies (#585578)
authorPacho Ramos <pacho@gentoo.org>
Sun, 12 Jun 2016 11:40:05 +0000 (13:40 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 12 Jun 2016 11:41:35 +0000 (13:41 +0200)
Package-Manager: portage-2.3.0_rc1

app-backup/cdbkup/cdbkup-1.0-r2.ebuild [new file with mode: 0644]

diff --git a/app-backup/cdbkup/cdbkup-1.0-r2.ebuild b/app-backup/cdbkup/cdbkup-1.0-r2.ebuild
new file mode 100644 (file)
index 0000000..17caab7
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="performs full/incremental backups of local/remote filesystems onto CD-R(W)s"
+HOMEPAGE="http://cdbkup.sourceforge.net/"
+SRC_URI="mirror://sourceforge/cdbkup/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE=""
+
+DEPEND="net-misc/openssh
+       virtual/cdrtools
+       virtual/eject
+"
+RDEPEND="${DEPEND}
+       !app-misc/cdcat
+"
+
+src_prepare() {
+       default
+       sed -i -e "s:doc/cdbkup:doc/${P}:" Makefile.in || die
+}
+
+src_configure() {
+       econf --with-snardir=/etc/cdbkup --with-dumpgrp=users
+}
+
+src_install() {
+       default
+       dodoc COMPLIANCE
+}