public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] grip 2.96 ebuild
@ 2001-07-20  3:12 Bruce A. Locke
  0 siblings, 0 replies; only message in thread
From: Bruce A. Locke @ 2001-07-20  3:12 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 229 bytes --]


See attachment for grip 2.96 ebuild...  I would be grateful if someone
with cvs access could check it in for me... Thanks.

---------------------------------------------------------------------
Bruce A. Locke
blocke@shivan.org


[-- Attachment #2: grip-2.96.ebuild --]
[-- Type: application/octet-stream, Size: 1491 bytes --]

# 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

}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-20  9:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-20  3:12 [gentoo-dev] grip 2.96 ebuild Bruce A. Locke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox