summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-04-26 20:14:00 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-04-26 20:14:00 +0000
commit2cc5f06b7c750bff7a970c10195d3090b74afd82 (patch)
tree76db0a6ac268ede7546c86f66c46104475f23d4d /media-libs
parentFixed ChangeLog (diff)
downloadgentoo-2-2cc5f06b7c750bff7a970c10195d3090b74afd82.tar.gz
gentoo-2-2cc5f06b7c750bff7a970c10195d3090b74afd82.tar.bz2
gentoo-2-2cc5f06b7c750bff7a970c10195d3090b74afd82.zip
Introduce possibility to disable static library.
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/audiofile/ChangeLog7
-rw-r--r--media-libs/audiofile/audiofile-0.2.7.ebuild17
2 files changed, 15 insertions, 9 deletions
diff --git a/media-libs/audiofile/ChangeLog b/media-libs/audiofile/ChangeLog
index 3fe55ba6e0c3..1f2d8835aeed 100644
--- a/media-libs/audiofile/ChangeLog
+++ b/media-libs/audiofile/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/audiofile
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/audiofile/ChangeLog,v 1.80 2010/10/03 16:42:40 armin76 Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/audiofile/ChangeLog,v 1.81 2011/04/26 20:14:00 scarabeus Exp $
+
+ 26 Apr 2011; Tomáš Chvátal <scarabeus@gentoo.org> audiofile-0.2.7.ebuild:
+ Introduce possibility to disable static library.
03 Oct 2010; Raúl Porcel <armin76@gentoo.org> audiofile-0.2.7.ebuild:
ia64/sh/sparc stable wrt #327611
diff --git a/media-libs/audiofile/audiofile-0.2.7.ebuild b/media-libs/audiofile/audiofile-0.2.7.ebuild
index 1a3080e31c40..370502b9bc5e 100644
--- a/media-libs/audiofile/audiofile-0.2.7.ebuild
+++ b/media-libs/audiofile/audiofile-0.2.7.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/audiofile/audiofile-0.2.7.ebuild,v 1.10 2010/10/03 16:42:40 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/audiofile/audiofile-0.2.7.ebuild,v 1.11 2011/04/26 20:14:00 scarabeus Exp $
+
+EAPI=4
-EAPI=3
inherit autotools eutils
DESCRIPTION="An elegant API for accessing audio files"
@@ -12,7 +13,9 @@ SRC_URI="http://www.68k.org/~michael/${PN}/${P}.tar.gz"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
-IUSE=""
+IUSE="static-libs"
+
+DOCS=( ACKNOWLEDGEMENTS AUTHORS ChangeLog NEWS NOTES README TODO )
src_prepare() {
epatch "${FILESDIR}"/${PN}-largefile.patch
@@ -26,11 +29,11 @@ src_prepare() {
src_configure() {
econf \
- --disable-dependency-tracking \
+ $(use_enable static-libs static) \
--enable-largefile
}
src_install() {
- emake DESTDIR="${D}" install || die
- dodoc ACKNOWLEDGEMENTS AUTHORS ChangeLog NEWS NOTES README TODO || die
+ default
+ find "${ED}" -name '*.la' -delete
}