diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-06-30 03:33:46 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-06-30 03:33:46 +0000 |
commit | 90d72c67409253721be093833da46d8dbe12b5fb (patch) | |
tree | a87862e4d149fc2fa943d3f92c8ffd815c3f7a15 | |
parent | Use 1.2.2 patch, set udev paths in install (diff) | |
download | gentoo-2-90d72c67409253721be093833da46d8dbe12b5fb.tar.gz gentoo-2-90d72c67409253721be093833da46d8dbe12b5fb.tar.bz2 gentoo-2-90d72c67409253721be093833da46d8dbe12b5fb.zip |
add USE=static-libs support
(Portage version: 2.1.8.3/cvs/Linux i686)
-rw-r--r-- | dev-games/vamos/ChangeLog | 5 | ||||
-rw-r--r-- | dev-games/vamos/vamos-0.6.2.ebuild | 11 |
2 files changed, 12 insertions, 4 deletions
diff --git a/dev-games/vamos/ChangeLog b/dev-games/vamos/ChangeLog index 39de5038e941..2401cd61b745 100644 --- a/dev-games/vamos/ChangeLog +++ b/dev-games/vamos/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-games/vamos # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/vamos/ChangeLog,v 1.12 2010/06/30 03:19:54 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/vamos/ChangeLog,v 1.13 2010/06/30 03:33:46 mr_bones_ Exp $ + + 30 Jun 2010; Michael Sterrett <mr_bones_@gentoo.org> vamos-0.6.2.ebuild: + add USE=static-libs support 30 Jun 2010; Michael Sterrett <mr_bones_@gentoo.org> vamos-0.6.2.ebuild, files/vamos-0.6.2-as-needed.patch: diff --git a/dev-games/vamos/vamos-0.6.2.ebuild b/dev-games/vamos/vamos-0.6.2.ebuild index 4969bb959d48..d2ff27208e49 100644 --- a/dev-games/vamos/vamos-0.6.2.ebuild +++ b/dev-games/vamos/vamos-0.6.2.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/dev-games/vamos/vamos-0.6.2.ebuild,v 1.3 2010/06/30 03:19:54 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/vamos/vamos-0.6.2.ebuild,v 1.4 2010/06/30 03:33:46 mr_bones_ Exp $ EAPI=2 inherit eutils @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/vamos/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 x86" -IUSE="" +IUSE="static-libs" RDEPEND="virtual/opengl virtual/glu @@ -31,7 +31,8 @@ src_prepare() { src_configure() { econf \ --disable-dependency-tracking \ - --disable-unit-tests + --disable-unit-tests \ + $(use_enable static-libs static) } src_install() { @@ -39,4 +40,8 @@ src_install() { dobin caelum/.libs/caelum || die "dobin failed" newdoc caelum/README README.caelum dodoc AUTHORS ChangeLog README TODO + if ! use static-libs ; then + find "${D}" -type f -name '*.la' -exec rm {} + \ + || die "la removal failed" + fi } |