summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-01-16 04:22:12 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-01-16 04:22:12 +0000
commit9996229cf4c24b8dba36835ede4ca613477d47d2 (patch)
tree197cdf4ade3c47219a478f01e776e736d648e0af /dev-games/clanlib
parentadd static-libs support (diff)
downloadgentoo-2-9996229cf4c24b8dba36835ede4ca613477d47d2.tar.gz
gentoo-2-9996229cf4c24b8dba36835ede4ca613477d47d2.tar.bz2
gentoo-2-9996229cf4c24b8dba36835ede4ca613477d47d2.zip
add static-libs support
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'dev-games/clanlib')
-rw-r--r--dev-games/clanlib/ChangeLog7
-rw-r--r--dev-games/clanlib/clanlib-0.8.1.ebuild13
2 files changed, 14 insertions, 6 deletions
diff --git a/dev-games/clanlib/ChangeLog b/dev-games/clanlib/ChangeLog
index 84239879f114..2d3540f5d0c7 100644
--- a/dev-games/clanlib/ChangeLog
+++ b/dev-games/clanlib/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-games/clanlib
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/ChangeLog,v 1.46 2010/09/17 10:55:17 scarabeus Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/ChangeLog,v 1.47 2011/01/16 04:22:12 mr_bones_ Exp $
+
+ 16 Jan 2011; Michael Sterrett <mr_bones_@gentoo.org> clanlib-0.8.1.ebuild:
+ add static-libs support
17 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org> clanlib-0.8.1.ebuild:
Remove virtual/glu where already virtual/opengl is stated.
diff --git a/dev-games/clanlib/clanlib-0.8.1.ebuild b/dev-games/clanlib/clanlib-0.8.1.ebuild
index ad3e23a1c14c..e1533b92fb80 100644
--- a/dev-games/clanlib/clanlib-0.8.1.ebuild
+++ b/dev-games/clanlib/clanlib-0.8.1.ebuild
@@ -1,6 +1,6 @@
-# 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/dev-games/clanlib/clanlib-0.8.1.ebuild,v 1.6 2010/09/17 10:55:17 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/clanlib-0.8.1.ebuild,v 1.7 2011/01/16 04:22:12 mr_bones_ Exp $
EAPI=2
inherit flag-o-matic eutils
@@ -12,7 +12,7 @@ SRC_URI="http://clanlib.org/download/releases-${PV:0:3}/ClanLib-${PV}.tgz"
LICENSE="ZLIB"
SLOT="0.8"
KEYWORDS="amd64 x86" #not big endian safe #82779
-IUSE="opengl sdl vorbis doc mikmod ipv6"
+IUSE="doc ipv6 mikmod opengl sdl static-libs vorbis"
# opengl keyword does not drop the GL/GLU requirement.
# Autoconf files need to be fixed
@@ -57,7 +57,8 @@ src_configure() {
$(use_enable sdl clanSDL) \
$(use_enable vorbis clanVorbis) \
$(use_enable mikmod clanMikMod) \
- $(use_enable ipv6 getaddr)
+ $(use_enable ipv6 getaddr) \
+ $(use_enable static-libs static)
}
src_install() {
@@ -68,5 +69,9 @@ src_install() {
rm -rf "${D}"/usr/share/doc/clanlib
cp -r Examples Resources "${D}"/usr/share/doc/${PF}/ || die
fi
+ if ! use static-libs ; then
+ find "${D}" -type f -name '*.la' -exec rm {} + \
+ || die "la removal failed"
+ fi
dodoc CODING_STYLE CREDITS NEWS PATCHES README* INSTALL.linux
}