summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-03 13:19:50 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-03 13:19:50 +0000
commitfa534ebafbddde5f14fe8d7afe8b9a09339abf7c (patch)
tree3f901ba771aafb27f9bf28fcc9f1fc79f47d4203 /media-sound/toolame
parentMove epatch to src_prepare (diff)
downloadhistorical-fa534ebafbddde5f14fe8d7afe8b9a09339abf7c.tar.gz
historical-fa534ebafbddde5f14fe8d7afe8b9a09339abf7c.tar.bz2
historical-fa534ebafbddde5f14fe8d7afe8b9a09339abf7c.zip
Quoting
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'media-sound/toolame')
-rw-r--r--media-sound/toolame/toolame-02l-r2.ebuild19
1 files changed, 7 insertions, 12 deletions
diff --git a/media-sound/toolame/toolame-02l-r2.ebuild b/media-sound/toolame/toolame-02l-r2.ebuild
index f2fc40d41bc0..41a78d25a984 100644
--- a/media-sound/toolame/toolame-02l-r2.ebuild
+++ b/media-sound/toolame/toolame-02l-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/toolame/toolame-02l-r2.ebuild,v 1.6 2007/08/13 21:18:24 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/toolame/toolame-02l-r2.ebuild,v 1.7 2009/08/03 13:12:37 ssuominen Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -8,30 +8,25 @@ DESCRIPTION="tooLAME - an optimized mpeg 1/2 layer 2 audio encoder"
HOMEPAGE="http://www.planckenergy.com"
SRC_URI="mirror://sourceforge/toolame/${P}.tgz"
-IUSE=""
-
-SLOT="0"
LICENSE="LGPL-2.1"
+SLOT="0"
KEYWORDS="amd64 ppc ~sparc x86"
+IUSE=""
src_unpack() {
unpack ${A}
- cd ${S}
-
+ cd "${S}"
epatch "${FILESDIR}/${P}-gentoo.diff"
epatch "${FILESDIR}/${P}-uint.patch"
}
src_compile() {
- # Enable largefile support, as toolame doesn't use autoconf
append-lfs-flags
-
tc-export CC
-
- emake || die
+ emake || die "emake failed"
}
src_install() {
- dobin toolame || die
+ dobin toolame || die "dobin failed"
dodoc README HISTORY FUTURE html/* text/*
}