summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-04-06 17:40:20 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-04-06 17:40:20 +0000
commitca4cd50a19186dc4ea21e291eb0013e810085f58 (patch)
treec49fed5fb34e6e7000a348af69218f09b741f160 /app-misc/cdcat
parentAdded docs. (diff)
downloadhistorical-ca4cd50a19186dc4ea21e291eb0013e810085f58.tar.gz
historical-ca4cd50a19186dc4ea21e291eb0013e810085f58.tar.bz2
historical-ca4cd50a19186dc4ea21e291eb0013e810085f58.zip
Updated SRC_URI, bugfix to work with sed 4.x
Diffstat (limited to 'app-misc/cdcat')
-rw-r--r--app-misc/cdcat/ChangeLog8
-rw-r--r--app-misc/cdcat/cdcat-0.2.ebuild6
-rw-r--r--app-misc/cdcat/cdcat-0.3.ebuild46
-rw-r--r--app-misc/cdcat/files/digest-cdcat-0.21
-rw-r--r--app-misc/cdcat/files/digest-cdcat-0.32
5 files changed, 59 insertions, 4 deletions
diff --git a/app-misc/cdcat/ChangeLog b/app-misc/cdcat/ChangeLog
index 83e8b0669f24..58eb0f9e5e37 100644
--- a/app-misc/cdcat/ChangeLog
+++ b/app-misc/cdcat/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/cdcat
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/cdcat/ChangeLog,v 1.3 2003/03/28 13:02:00 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/cdcat/ChangeLog,v 1.4 2003/04/06 17:40:20 mholzer Exp $
+
+*cdcat-0.3 (06 Apr 2003)
+
+ 06 Apr 2003; Martin Holzer <mholzer@gentoo.org> cdcat-0.2.ebuild,
+ cdcat-0.3.ebuild:
+ Updated SRC_URI, bugfix to work with sed 4.x
*cdcat-0.2 (18 Jul 2002)
diff --git a/app-misc/cdcat/cdcat-0.2.ebuild b/app-misc/cdcat/cdcat-0.2.ebuild
index 1f92c5bfb600..5f2935de3f6f 100644
--- a/app-misc/cdcat/cdcat-0.2.ebuild
+++ b/app-misc/cdcat/cdcat-0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/cdcat/cdcat-0.2.ebuild,v 1.10 2003/03/28 13:02:00 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/cdcat/cdcat-0.2.ebuild,v 1.11 2003/04/06 17:40:20 mholzer Exp $
DESCRIPTION="CD Catalog is a simple yet effective CD indexing program"
SRC_URI="http://www.littledragon.f2s.com/unix/cdcat/${P}.tar.gz"
@@ -10,7 +10,7 @@ SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc"
-DEPEND=">=sys-apps/sed-3.02.80
+DEPEND=">=sys-apps/sed-4.0.5
>=sys-apps/grep-2.4.2
>=sys-apps/findutils-4.1
>=app-cdr/cdrtools-1.11"
@@ -22,7 +22,7 @@ src_unpack() {
# workaround install.sh ignoring --man_prefix
t="install.sh"
cp $t $t.orig || die "Patch failed for $t"
- sed 's:^MAN_PREFIX:#\1:' $t.orig > $t
+ sed 's:^MAN_PREFIX:#:' $t.orig > $t
# fix path to cd index files to be FHS-compliant
t="src/cdcat.pl"
diff --git a/app-misc/cdcat/cdcat-0.3.ebuild b/app-misc/cdcat/cdcat-0.3.ebuild
new file mode 100644
index 000000000000..eca636d99e8b
--- /dev/null
+++ b/app-misc/cdcat/cdcat-0.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/cdcat/cdcat-0.3.ebuild,v 1.1 2003/04/06 17:40:20 mholzer Exp $
+
+DESCRIPTION="CD Catalog is a simple yet effective CD indexing program"
+SRC_URI="http://www.littledragon.f2s.com/unix/cdcat/${P}.tar.gz"
+HOMEPAGE="http://www.littledragon.f2s.com/unix/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+
+DEPEND=">=sys-apps/sed-4.0.5
+ >=sys-apps/grep-2.4.2
+ >=sys-apps/findutils-4.1
+ >=app-cdr/cdrtools-1.11"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # workaround install.sh ignoring --man_prefix
+ t="install.sh"
+ cp $t $t.orig || die "Patch failed for $t"
+ sed 's:^MAN_PREFIX:#:' $t.orig > $t
+
+ # fix path to cd index files to be FHS-compliant
+ t="src/cdcat.pl"
+ cp $t $t.orig || die "Patch failed for $t"
+ sed 's:/mnt/ext/cd:/var/lib/cdcat:' $t.orig > $t
+}
+
+src_install() {
+ # workaround install.sh ignoring --man_prefix
+ export MAN_PREFIX=${D}/usr/share/man
+ dodir /usr/share/man/man1
+
+ # create index files path
+ dodir /var/lib/cdcat
+ chgrp cdrom ${D}/var/lib/cdcat
+ chmod g+ws,o+w ${D}/var/lib/cdcat
+
+ # now use the included install.sh
+ ./install.sh --prefix=${D}/usr \
+ --man_prefix=${D}/usr/share/man || die "Install script failed."
+}
diff --git a/app-misc/cdcat/files/digest-cdcat-0.2 b/app-misc/cdcat/files/digest-cdcat-0.2
index 07c1acb55ec2..65d5b1da04ff 100644
--- a/app-misc/cdcat/files/digest-cdcat-0.2
+++ b/app-misc/cdcat/files/digest-cdcat-0.2
@@ -1 +1,2 @@
+MD5 dd00cc37cf4fb4f7ccfad2fbf97bc86f /cdcat-0.2.ebuild 1305
MD5 3a89ec6931ab0eba04cbe8f0031b6462 cdcat-0.2.tar.gz 6923
diff --git a/app-misc/cdcat/files/digest-cdcat-0.3 b/app-misc/cdcat/files/digest-cdcat-0.3
new file mode 100644
index 000000000000..67bd55bbc039
--- /dev/null
+++ b/app-misc/cdcat/files/digest-cdcat-0.3
@@ -0,0 +1,2 @@
+MD5 34ac6da640e1bbe07b81b1846c58b2ee /cdcat-0.3.ebuild 1307
+MD5 490e9dacd0c1ede396966b9d876d9159 cdcat-0.3.tar.gz 7464