diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-06-29 21:38:46 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-06-29 21:38:46 +0000 |
commit | 5c552e606d26dc65ffdec786ed9b33b067870284 (patch) | |
tree | d4f680be8125b60d7f0f96e14761133a15d3ddc9 /media-libs | |
parent | Mark alpha/arm/ia64/s390/sh stable #324747. (diff) | |
download | gentoo-2-5c552e606d26dc65ffdec786ed9b33b067870284.tar.gz gentoo-2-5c552e606d26dc65ffdec786ed9b33b067870284.tar.bz2 gentoo-2-5c552e606d26dc65ffdec786ed9b33b067870284.zip |
add static-libs support
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/devil/ChangeLog | 5 | ||||
-rw-r--r-- | media-libs/devil/devil-1.7.8.ebuild | 9 |
2 files changed, 11 insertions, 3 deletions
diff --git a/media-libs/devil/ChangeLog b/media-libs/devil/ChangeLog index 66319c64182d..7bbd4fa3aeec 100644 --- a/media-libs/devil/ChangeLog +++ b/media-libs/devil/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/devil # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/devil/ChangeLog,v 1.43 2010/06/25 17:14:35 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/devil/ChangeLog,v 1.44 2010/06/29 21:38:46 mr_bones_ Exp $ + + 29 Jun 2010; Michael Sterrett <mr_bones_@gentoo.org> devil-1.7.8.ebuild: + add static-libs support 25 Jun 2010; Raúl Porcel <armin76@gentoo.org> devil-1.7.7.ebuild, devil-1.7.8.ebuild: diff --git a/media-libs/devil/devil-1.7.8.ebuild b/media-libs/devil/devil-1.7.8.ebuild index d50ed99343b9..55c729e5afef 100644 --- a/media-libs/devil/devil-1.7.8.ebuild +++ b/media-libs/devil/devil-1.7.8.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/devil/devil-1.7.8.ebuild,v 1.4 2010/06/25 17:14:35 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/devil/devil-1.7.8.ebuild,v 1.5 2010/06/29 21:38:46 mr_bones_ Exp $ EAPI=2 inherit eutils @@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/openil/${MY_P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 ~ppc x86" -IUSE="openexr gif jpeg lcms mng png tiff xpm allegro opengl sdl X" +IUSE="openexr gif jpeg lcms mng png tiff xpm allegro opengl sdl static-libs X" RDEPEND="gif? ( media-libs/giflib ) openexr? ( media-libs/openexr ) @@ -57,6 +57,7 @@ src_configure() { $(use_enable X x11) \ $(use_enable X shm) \ $(use_enable X render) \ + $(use_enable static-libs static) \ --disable-directx8 \ --disable-directx9 } @@ -64,4 +65,8 @@ src_configure() { src_install() { emake DESTDIR="${D}" install || die dodoc AUTHORS CREDITS ChangeLog NEWS README* TODO || die + if ! use static-libs ; then + find "${D}" -type f -name '*.la' -exec rm {} + \ + || die "la removal failed" + fi } |