summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-06-25 01:57:27 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-06-25 01:57:27 +0000
commit1c7cc2a7ed1415c6e4cc077ed247ecfac6402038 (patch)
tree79b83f77c9f561849470c3bdce955b8b9d6cff28 /media-libs/libmp4v2
parentold (diff)
downloadgentoo-2-1c7cc2a7ed1415c6e4cc077ed247ecfac6402038.tar.gz
gentoo-2-1c7cc2a7ed1415c6e4cc077ed247ecfac6402038.tar.bz2
gentoo-2-1c7cc2a7ed1415c6e4cc077ed247ecfac6402038.zip
Add support for USE=static-libs
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'media-libs/libmp4v2')
-rw-r--r--media-libs/libmp4v2/ChangeLog6
-rw-r--r--media-libs/libmp4v2/libmp4v2-1.9.1.ebuild6
2 files changed, 9 insertions, 3 deletions
diff --git a/media-libs/libmp4v2/ChangeLog b/media-libs/libmp4v2/ChangeLog
index 5da177e32014..8131839fab18 100644
--- a/media-libs/libmp4v2/ChangeLog
+++ b/media-libs/libmp4v2/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/libmp4v2
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmp4v2/ChangeLog,v 1.64 2010/01/15 09:33:26 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmp4v2/ChangeLog,v 1.65 2010/06/25 01:57:27 mr_bones_ Exp $
+
+ 25 Jun 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ libmp4v2-1.9.1.ebuild:
+ Add support for USE=static-libs
15 Jan 2010; Christian Faulhammer <fauli@gentoo.org>
libmp4v2-1.9.1.ebuild:
diff --git a/media-libs/libmp4v2/libmp4v2-1.9.1.ebuild b/media-libs/libmp4v2/libmp4v2-1.9.1.ebuild
index e609c72c071f..f0dd98354490 100644
--- a/media-libs/libmp4v2/libmp4v2-1.9.1.ebuild
+++ b/media-libs/libmp4v2/libmp4v2-1.9.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmp4v2/libmp4v2-1.9.1.ebuild,v 1.12 2010/01/15 09:33:26 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmp4v2/libmp4v2-1.9.1.ebuild,v 1.13 2010/06/25 01:57:27 mr_bones_ Exp $
EAPI=2
inherit libtool
@@ -12,7 +12,7 @@ SRC_URI="http://mp4v2.googlecode.com/files/${P/lib}.tar.bz2"
LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
-IUSE="utils"
+IUSE="static-libs utils"
RDEPEND=""
DEPEND="utils? ( sys-apps/help2man )
@@ -31,10 +31,12 @@ src_configure() {
econf \
--disable-gch \
$(use_enable utils util) \
+ $(use_enable static-libs static) \
--disable-dependency-tracking
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc doc/*.txt README
+ use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib*.la
}