summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-03-30 00:08:30 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-03-30 00:08:30 +0000
commitc838ea4ad789f45470e22dfbbd6da5926d87cd96 (patch)
treec9fec94c4bb3724c3aa8ea5c55fb5dab77271bb8 /app-cdr/cdbkup
parentstable on sparc, thanks to txromeo for additional testing (diff)
downloadgentoo-2-c838ea4ad789f45470e22dfbbd6da5926d87cd96.tar.gz
gentoo-2-c838ea4ad789f45470e22dfbbd6da5926d87cd96.tar.bz2
gentoo-2-c838ea4ad789f45470e22dfbbd6da5926d87cd96.zip
inherit eutils for epatch; use epatch; IUSE; depend on sed >= 4
Diffstat (limited to 'app-cdr/cdbkup')
-rw-r--r--app-cdr/cdbkup/ChangeLog7
-rw-r--r--app-cdr/cdbkup/cdbkup-1.0.ebuild19
2 files changed, 18 insertions, 8 deletions
diff --git a/app-cdr/cdbkup/ChangeLog b/app-cdr/cdbkup/ChangeLog
index fcecb667cfd9..808962f8aca1 100644
--- a/app-cdr/cdbkup/ChangeLog
+++ b/app-cdr/cdbkup/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-cdr/cdbkup
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdbkup/ChangeLog,v 1.4 2003/11/21 15:15:13 aliz Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdbkup/ChangeLog,v 1.5 2004/03/30 00:08:30 mr_bones_ Exp $
+
+ 29 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> cdbkup-1.0.ebuild:
+ inherit eutils for epatch; use epatch; IUSE; depend on sed >= 4
21 Nov 2003; Daniel Ahlberg <aliz@gentoo.org> cdbkup-1.0.ebuild :
Block app-misc/cdcat becuse it also install /usr/bin/cdcat. Closing #27502.
diff --git a/app-cdr/cdbkup/cdbkup-1.0.ebuild b/app-cdr/cdbkup/cdbkup-1.0.ebuild
index 0afdbda1ec9a..beee3984693e 100644
--- a/app-cdr/cdbkup/cdbkup-1.0.ebuild
+++ b/app-cdr/cdbkup/cdbkup-1.0.ebuild
@@ -1,27 +1,34 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdbkup/cdbkup-1.0.ebuild,v 1.11 2004/03/12 12:02:37 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdbkup/cdbkup-1.0.ebuild,v 1.12 2004/03/30 00:08:30 mr_bones_ Exp $
+
+inherit eutils
DESCRIPTION="cdbkup performs full or incremental backups of local or remote filesystems onto CD-R(W)s."
-SRC_URI="mirror://sourceforge/cdbkup/${P}.tar.gz"
HOMEPAGE="http://cdbkup.sourceforge.net/"
+SRC_URI="mirror://sourceforge/cdbkup/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ~ppc"
+IUSE=""
-DEPEND="virtual/glibc
+RDEPEND="virtual/glibc
>=app-cdr/cdrtools-1.11.28
>=sys-apps/eject-2.0.10
!app-misc/cdcat"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
src_unpack() {
unpack ${A} ; cd ${S}
- sed -i "s:doc/cdbkup:doc/${P}:" Makefile.in
+ sed -i \
+ -e "s:doc/cdbkup:doc/${P}:" Makefile.in \
+ || die "sed Makefile.in failed"
#apply the patch
- patch < ${S}/linuxtar_13.patch ${S}/src/cdbkup.in
+ epatch ${S}/linuxtar_13.patch
}
src_compile() {
@@ -29,6 +36,6 @@ src_compile() {
}
src_install() {
- make DESTDIR=${D} install || die "make install failed"
+ make DESTDIR="${D}" install || die "make install failed"
dodoc COMPLIANCE ChangeLog README TODO
}