From 51259e250861cd8b950ad9702d30771436112ff6 Mon Sep 17 00:00:00 2001 From: "Bruce A. Locke" Date: Thu, 26 Jul 2001 05:43:55 +0000 Subject: grip 2.96 --- media-sound/grip/files/digest-grip-2.96 | 1 + media-sound/grip/grip-2.96.ebuild | 64 +++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 media-sound/grip/files/digest-grip-2.96 create mode 100644 media-sound/grip/grip-2.96.ebuild (limited to 'media-sound/grip') 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 + +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 + +} -- cgit v1.2.3-65-gdbad