summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-08-23 20:24:52 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-08-23 20:24:52 +0000
commit933cfdc5c36edce362a6237adf8cef6c55a0515d (patch)
tree01b9414111907a1611ba87ec251556d4b4e7b176 /media-sound/twolame
parentarm stable, bug #333187 (diff)
downloadgentoo-2-933cfdc5c36edce362a6237adf8cef6c55a0515d.tar.gz
gentoo-2-933cfdc5c36edce362a6237adf8cef6c55a0515d.tar.bz2
gentoo-2-933cfdc5c36edce362a6237adf8cef6c55a0515d.zip
USE="static-libs" and punt .la files.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/twolame')
-rw-r--r--media-sound/twolame/ChangeLog7
-rw-r--r--media-sound/twolame/twolame-0.3.12.ebuild30
2 files changed, 24 insertions, 13 deletions
diff --git a/media-sound/twolame/ChangeLog b/media-sound/twolame/ChangeLog
index 37d63370d0c7..b468dddac53e 100644
--- a/media-sound/twolame/ChangeLog
+++ b/media-sound/twolame/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/twolame
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/twolame/ChangeLog,v 1.38 2009/04/04 20:16:38 solar Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/twolame/ChangeLog,v 1.39 2010/08/23 20:24:52 ssuominen Exp $
+
+ 23 Aug 2010; Samuli Suominen <ssuominen@gentoo.org> twolame-0.3.12.ebuild:
+ USE="static-libs" and punt .la files.
04 Apr 2009; <solar@gentoo.org> twolame-0.3.12.ebuild:
- Keyword ~arm
diff --git a/media-sound/twolame/twolame-0.3.12.ebuild b/media-sound/twolame/twolame-0.3.12.ebuild
index 9cddd0f31535..b8d43826798f 100644
--- a/media-sound/twolame/twolame-0.3.12.ebuild
+++ b/media-sound/twolame/twolame-0.3.12.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/twolame/twolame-0.3.12.ebuild,v 1.9 2009/04/04 20:16:38 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/twolame/twolame-0.3.12.ebuild,v 1.10 2010/08/23 20:24:52 ssuominen Exp $
+EAPI=3
inherit libtool
DESCRIPTION="TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder"
@@ -11,22 +12,29 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~arm alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE=""
+IUSE="static-libs"
-DEPEND=">=media-libs/libsndfile-1"
-RDEPEND="${DEPEND}"
+RDEPEND=">=media-libs/libsndfile-1"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -i -e 's:-O3::' configure
- # Needed for FreeBSD to get a sane .so versioning.
+src_prepare() {
+ sed -i -e '/CFLAGS/s:-O3::' configure || die
elibtoolize
}
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable static-libs static)
+}
+
src_install() {
emake DESTDIR="${D}" pkgdocdir="/usr/share/doc/${PF}" \
- install || die "emake install failed."
+ install || die
+
dodoc AUTHORS ChangeLog README TODO
prepalldocs
+
+ find "${ED}" -name '*.la' -exec rm -f '{}' +
}