summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-09-16 00:54:42 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-09-16 00:54:42 +0000
commit493eb8f019e547fb99a34829fa0e50549a447df7 (patch)
tree1e0a0fa01858e08f7e5b6faff83e88a1f06fb0e5 /media-libs/faac
parentUSE="static-libs" and punt .la files. (diff)
downloadgentoo-2-493eb8f019e547fb99a34829fa0e50549a447df7.tar.gz
gentoo-2-493eb8f019e547fb99a34829fa0e50549a447df7.tar.bz2
gentoo-2-493eb8f019e547fb99a34829fa0e50549a447df7.zip
USE="static-libs" and punt .la files.
(Portage version: 2.2_rc83/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/faac')
-rw-r--r--media-libs/faac/ChangeLog7
-rw-r--r--media-libs/faac/faac-1.28-r1.ebuild15
2 files changed, 16 insertions, 6 deletions
diff --git a/media-libs/faac/ChangeLog b/media-libs/faac/ChangeLog
index c8afdfd90681..62c65375371e 100644
--- a/media-libs/faac/ChangeLog
+++ b/media-libs/faac/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/faac
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/faac/ChangeLog,v 1.79 2009/10/10 16:02:37 armin76 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/faac/ChangeLog,v 1.80 2010/09/16 00:54:42 ssuominen Exp $
+
+ 16 Sep 2010; Samuli Suominen <ssuominen@gentoo.org> faac-1.28-r1.ebuild:
+ USE="static-libs" and punt .la files.
10 Oct 2009; Raúl Porcel <armin76@gentoo.org> faac-1.28-r1.ebuild:
ia64/sh/sparc stable wrt #280791
diff --git a/media-libs/faac/faac-1.28-r1.ebuild b/media-libs/faac/faac-1.28-r1.ebuild
index ea4ac5fdce49..7c9cfde1307e 100644
--- a/media-libs/faac/faac-1.28-r1.ebuild
+++ b/media-libs/faac/faac-1.28-r1.ebuild
@@ -1,6 +1,6 @@
-# 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-libs/faac/faac-1.28-r1.ebuild,v 1.9 2009/10/10 16:02:37 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/faac/faac-1.28-r1.ebuild,v 1.10 2010/09/16 00:54:42 ssuominen Exp $
EAPI=2
inherit autotools eutils
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
-IUSE=""
+IUSE="static-libs"
RDEPEND=">=media-libs/libmp4v2-1.9.0"
DEPEND="${RDEPEND}"
@@ -23,10 +23,17 @@ src_prepare() {
epunt_cxx
}
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable static-libs static)
+}
+
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
+ emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog NEWS README TODO
dohtml docs/*.html
insinto /usr/share/doc/${PF}/pdf
doins docs/libfaac.pdf
+ find "${D}" -name '*.la' -exec rm -f '{}' +
}