diff options
author | 2010-07-27 00:33:06 +0000 | |
---|---|---|
committer | 2010-07-27 00:33:06 +0000 | |
commit | 93f939c96ccc910342723268595cb7d421a53225 (patch) | |
tree | fe2ed8b7f5275383ef31917b31cccc8b35825f0c /media-libs/sdl-sound/sdl-sound-1.0.3.ebuild | |
parent | old (diff) | |
download | historical-93f939c96ccc910342723268595cb7d421a53225.tar.gz historical-93f939c96ccc910342723268595cb7d421a53225.tar.bz2 historical-93f939c96ccc910342723268595cb7d421a53225.zip |
add IUSE=static-libs support
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'media-libs/sdl-sound/sdl-sound-1.0.3.ebuild')
-rw-r--r-- | media-libs/sdl-sound/sdl-sound-1.0.3.ebuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/media-libs/sdl-sound/sdl-sound-1.0.3.ebuild b/media-libs/sdl-sound/sdl-sound-1.0.3.ebuild index 0ebd9cf3ba44..0bfe6a588d3a 100644 --- a/media-libs/sdl-sound/sdl-sound-1.0.3.ebuild +++ b/media-libs/sdl-sound/sdl-sound-1.0.3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 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/sdl-sound/sdl-sound-1.0.3.ebuild,v 1.5 2008/05/25 07:04:05 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-sound/sdl-sound-1.0.3.ebuild,v 1.6 2010/07/27 00:33:06 mr_bones_ Exp $ MY_P="${P/sdl-/SDL_}" DESCRIPTION="A library that handles the decoding of sound file formats" @@ -10,7 +10,7 @@ SRC_URI="http://icculus.org/SDL_sound/downloads/${MY_P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="flac mikmod vorbis speex physfs mp3 mpeg" +IUSE="flac mikmod mp3 mpeg physfs speex static-libs vorbis" RDEPEND=">=media-libs/libsdl-1.2 flac? ( media-libs/flac ) @@ -32,6 +32,7 @@ src_compile() { $(use_enable mp3 mpglib) \ $(use_enable flac) \ $(use_enable speex) \ + $(use_enable static-libs static) \ $(use_enable mikmod) \ $(use_enable mikmod modplug) \ $(use_enable physfs) \ @@ -43,4 +44,8 @@ src_compile() { src_install() { emake DESTDIR="${D}" install || die "make install failed" dodoc CHANGELOG CREDITS README TODO + if ! use static-libs ; then + find "${D}" -type f -name '*.la' -exec rm {} + \ + || die "la removal failed" + fi } |