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 | b00d2b07a70692f45d27b46cf3950a5b793fa183 (patch) | |
tree | 73e842692701de9898556c0c9bb9aa1db4c718b9 /dev-games/vamos/vamos-0.6.2.ebuild | |
parent | Use 1.2.2 patch, set udev paths in install (diff) | |
download | historical-b00d2b07a70692f45d27b46cf3950a5b793fa183.tar.gz historical-b00d2b07a70692f45d27b46cf3950a5b793fa183.tar.bz2 historical-b00d2b07a70692f45d27b46cf3950a5b793fa183.zip |
add USE=static-libs support
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'dev-games/vamos/vamos-0.6.2.ebuild')
-rw-r--r-- | dev-games/vamos/vamos-0.6.2.ebuild | 11 |
1 files changed, 8 insertions, 3 deletions
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 } |