diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-04-24 02:26:24 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-04-24 02:26:24 +0000 |
commit | abf4105c4113958aad8f505f72dc1fc6177d406a (patch) | |
tree | e8515749fca451338802ca2639f83e3ad316c64f /media-sound/cdparanoia/cdparanoia-3.9.8-r1.ebuild | |
parent | and add a visual touchup (diff) | |
download | historical-abf4105c4113958aad8f505f72dc1fc6177d406a.tar.gz historical-abf4105c4113958aad8f505f72dc1fc6177d406a.tar.bz2 historical-abf4105c4113958aad8f505f72dc1fc6177d406a.zip |
fix #47869 #48776 and use econf
Diffstat (limited to 'media-sound/cdparanoia/cdparanoia-3.9.8-r1.ebuild')
-rw-r--r-- | media-sound/cdparanoia/cdparanoia-3.9.8-r1.ebuild | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/media-sound/cdparanoia/cdparanoia-3.9.8-r1.ebuild b/media-sound/cdparanoia/cdparanoia-3.9.8-r1.ebuild index c5ae6edd1b99..e8f4cdb7121e 100644 --- a/media-sound/cdparanoia/cdparanoia-3.9.8-r1.ebuild +++ b/media-sound/cdparanoia/cdparanoia-3.9.8-r1.ebuild @@ -1,46 +1,47 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/cdparanoia/cdparanoia-3.9.8-r1.ebuild,v 1.1 2004/04/22 19:43:52 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/cdparanoia/cdparanoia-3.9.8-r1.ebuild,v 1.2 2004/04/24 02:26:24 vapier Exp $ -IUSE= - -inherit eutils +inherit eutils flag-o-matic gnuconfig MY_P=${PN}-III-alpha9.8 -S=${WORKDIR}/${MY_P} DESCRIPTION="an advanced CDDA reader with error correction" -SRC_URI="http://www.xiph.org/paranoia/download/${MY_P}.src.tgz" HOMEPAGE="http://www.xiph.org/paranoia/" +SRC_URI="http://www.xiph.org/paranoia/download/${MY_P}.src.tgz" -DEPEND="virtual/glibc" - -SLOT="0" LICENSE="GPL-2" +SLOT="0" KEYWORDS="x86 ppc sparc alpha hppa amd64 ia64 ~mips" +IUSE="" + +DEPEND="virtual/glibc" + +S=${WORKDIR}/${MY_P} src_unpack() { unpack ${A} - cd ${S} # cdda_paranoia.h should include cdda_interface_h, else most configure # scripts testing for support fails (gnome-vfs, etc). epatch ${FILESDIR}/${P}-include-cdda_interface_h.patch + epatch ${FILESDIR}/${PV}-gcc34.patch + ln -s configure.guess config.guess + ln -s configure.sub config.sub + gnuconfig_update + rm config.{guess,sub} } src_compile() { - ./configure --prefix=/usr || die - # The configure script doesn't recognize i686-pc-linux-gnu - # --host=${CHOST} - + append-flags -I${S}/interface + econf || die make OPT="${CFLAGS}" || die } src_install() { dodir /usr/{bin,lib,include} /usr/share/man/man1 - make prefix=${D}/usr \ + make \ + prefix=${D}/usr \ MANDIR=${D}/usr/share/man \ install || die - - dodoc FAQ.txt GPL README + dodoc FAQ.txt README } - |