summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/toolame/toolame-02l-r3.ebuild')
-rw-r--r--media-sound/toolame/toolame-02l-r3.ebuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/media-sound/toolame/toolame-02l-r3.ebuild b/media-sound/toolame/toolame-02l-r3.ebuild
index 2b183369b5d6..03862283234e 100644
--- a/media-sound/toolame/toolame-02l-r3.ebuild
+++ b/media-sound/toolame/toolame-02l-r3.ebuild
@@ -1,21 +1,22 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/toolame/toolame-02l-r3.ebuild,v 1.12 2011/12/18 19:50:16 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/toolame/toolame-02l-r3.ebuild,v 1.13 2012/01/10 10:30:46 ssuominen Exp $
-EAPI=2
+EAPI=4
inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="tooLAME - an optimized mpeg 1/2 layer 2 audio encoder"
HOMEPAGE="http://www.planckenergy.com"
-SRC_URI="mirror://sourceforge/toolame/${P}.tgz"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ~ppc ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE=""
src_prepare() {
- epatch "${FILESDIR}"/${P}-gentoo.diff \
+ epatch \
+ "${FILESDIR}"/${P}-gentoo.diff \
"${FILESDIR}"/${P}-uint.patch \
"${FILESDIR}"/${P}-uint32_t.patch
}
@@ -23,10 +24,10 @@ src_prepare() {
src_compile() {
append-lfs-flags
tc-export CC
- emake || die "emake failed"
+ emake
}
src_install() {
- dobin toolame || die "dobin failed"
+ dobin ${PN}
dodoc README HISTORY FUTURE html/* text/*
}