diff options
Diffstat (limited to 'media-sound/mp3_check/mp3_check-1.98.ebuild')
-rw-r--r-- | media-sound/mp3_check/mp3_check-1.98.ebuild | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/media-sound/mp3_check/mp3_check-1.98.ebuild b/media-sound/mp3_check/mp3_check-1.98.ebuild index 31ef41f8ee4e..752e2e06a730 100644 --- a/media-sound/mp3_check/mp3_check-1.98.ebuild +++ b/media-sound/mp3_check/mp3_check-1.98.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3_check/mp3_check-1.98.ebuild,v 1.14 2004/09/15 16:12:16 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3_check/mp3_check-1.98.ebuild,v 1.15 2006/03/07 15:05:17 flameeyes Exp $ + +inherit eutils toolchain-funcs IUSE="" @@ -8,8 +10,6 @@ DESCRIPTION="MP3 consistency checker" HOMEPAGE="http://sourceforge.net/projects/mp3check/" SRC_URI="mirror://sourceforge/mp3check/${P}.tar.gz" -DEPEND="virtual/libc" - SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 ppc sparc amd64" @@ -17,13 +17,11 @@ KEYWORDS="x86 ppc sparc amd64" src_unpack() { unpack ${A} cd ${S} - cp Makefile Makefile.orig - sed -e "s:/usr/local:/usr:; - s:-Werror:${CFLAGS}:" Makefile.orig > Makefile + epatch "${FILESDIR}/${P}-makefile.patch" } src_compile() { - emake || die + emake CC="$(tc-getCC)" || die } src_install () { dobin mp3_check |