summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/grip/files/digest-grip-2.961
-rw-r--r--media-sound/grip/grip-2.96.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/media-sound/grip/files/digest-grip-2.96 b/media-sound/grip/files/digest-grip-2.96
new file mode 100644
index 000000000000..b816e3fa2198
--- /dev/null
+++ b/media-sound/grip/files/digest-grip-2.96
@@ -0,0 +1 @@
+MD5 841c092b86b17fd4c0b0c175b953518e grip-2.96.tgz
diff --git a/media-sound/grip/grip-2.96.ebuild b/media-sound/grip/grip-2.96.ebuild
new file mode 100644
index 000000000000..76df95a8262b
--- /dev/null
+++ b/media-sound/grip/grip-2.96.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Bruce A. Locke <blocke@shivan.org>
+
+A=${P}.tgz
+S=${WORKDIR}/${P}
+DESCRIPTION="GTK+ based Audio CD Ripper"
+SRC_URI="http://www.nostatic.org/grip/${A}"
+HOMEPAGE="http://www.nostatic.org/grip"
+
+DEPEND="media-sound/cdparanoia"
+
+src_unpack() {
+
+ # author forgot to gzip his tgz file... sigh
+ cd ${WORKDIR}
+ tar xvf ${DISTDIR}/${P}.tgz
+
+}
+
+src_compile() {
+
+ # grip doesn't have a nice configure script and requires some
+ # symlink love to build
+
+ cd ${S}
+
+ mkdir cdparanoia
+ mkdir cdparanoia/interface
+ mkdir cdparanoia/paranoia
+ ln -s /usr/lib/libcdda* cdparanoia/interface/
+ ln -s /usr/lib/libcdda* cdparanoia/paranoia/
+ ln -s /usr/include/*cdda* cdparanoia/interface/
+ ln -s /usr/include/*cdda* cdparanoia/paranoia/
+ ln -s /usr/include/utils.h cdparanoia/utils.h
+
+ # apply CFLAGS
+ mv Makefile Makefile.old
+ sed -e "s/-Wall/-Wall ${CFLAGS}/" -e "s/PREFIX=\/usr/PREFIX=\/usr\/X11R6/" Makefile.old > Makefile
+
+ try make all
+
+}
+
+src_install () {
+ cd ${S}
+
+ dodir /usr/X11R6/bin
+
+ cp ${S}/grip ${D}/usr/X11R6/bin
+ cp ${S}/gcd ${D}/usr/X11R6/bin
+
+ dodir /usr/X11R6/man/man1
+
+ gzip ${S}/grip.1
+ cp ${S}/grip.1.gz ${D}/usr/X11R6/man/man1
+ cp ${S}/grip.1.gz ${D}/usr/X11R6/man/man1/gcd.1.gz
+
+ dodoc README LICENSE TODO CREDITS CHANGES
+
+ insinto /usr/X11R6/include/X11/pixmaps
+ doins pixmaps/*.xpm
+
+}