summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Bormolini <lordjoe@gentoo.org>2001-10-26 01:55:54 +0000
committerJoe Bormolini <lordjoe@gentoo.org>2001-10-26 01:55:54 +0000
commit2fe1ade43ea91b0fea8b50f375c41aca69ed96e9 (patch)
tree9a53246485c4ace1b0e5adc5845de1b9fd409f60 /media-sound/grip
parentadded xfree to deps... doh. (diff)
downloadhistorical-2fe1ade43ea91b0fea8b50f375c41aca69ed96e9.tar.gz
historical-2fe1ade43ea91b0fea8b50f375c41aca69ed96e9.tar.bz2
historical-2fe1ade43ea91b0fea8b50f375c41aca69ed96e9.zip
Now depends on x11 and installs into /usr
Diffstat (limited to 'media-sound/grip')
-rw-r--r--media-sound/grip/files/digest-grip-2.96-r31
-rw-r--r--media-sound/grip/grip-2.96-r3.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/media-sound/grip/files/digest-grip-2.96-r3 b/media-sound/grip/files/digest-grip-2.96-r3
new file mode 100644
index 000000000000..d5a072a5874d
--- /dev/null
+++ b/media-sound/grip/files/digest-grip-2.96-r3
@@ -0,0 +1 @@
+MD5 93bd9c4672a8d53daf32772812e624d8 grip-2.96.tgz 118784
diff --git a/media-sound/grip/grip-2.96-r3.ebuild b/media-sound/grip/grip-2.96-r3.ebuild
new file mode 100644
index 000000000000..388d21497f83
--- /dev/null
+++ b/media-sound/grip/grip-2.96-r3.ebuild
@@ -0,0 +1,57 @@
+# 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>
+# $Header: /var/cvsroot/gentoo-x86/media-sound/grip/grip-2.96-r3.ebuild,v 1.1 2001/10/26 01:55:54 lordjoe Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="GTK+ based Audio CD Ripper"
+SRC_URI="http://www.nostatic.org/grip/${P}.tgz"
+HOMEPAGE="http://www.nostatic.org/grip"
+
+DEPEND="media-sound/cdparanoia
+ virtual/x11"
+
+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}/" Makefile.old > Makefile
+
+ emake || die
+
+}
+
+src_install () {
+ cd ${S}
+
+ dodir /usr/bin
+
+ cp ${S}/grip ${D}/usr/bin
+ cp ${S}/gcd ${D}/usr/bin
+
+ dodir /usr/man/man1
+
+ gzip ${S}/grip.1
+ cp ${S}/grip.1.gz ${D}/usr/man/man1
+ cp ${S}/grip.1.gz ${D}/usr/man/man1/gcd.1.gz
+
+ dodoc README LICENSE TODO CREDITS CHANGES
+
+ insinto /usr/include/X11/pixmaps
+ doins pixmaps/*.xpm
+
+}