summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-01-16 03:35:49 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-01-16 03:35:49 +0000
commitc2fda5b12803a36e3226b870b08856da0b0722e1 (patch)
treec7703920acd2ec55c96938435278382b23b36484 /dev-games
parentversion bump (bug #351669) (diff)
downloadhistorical-c2fda5b12803a36e3226b870b08856da0b0722e1.tar.gz
historical-c2fda5b12803a36e3226b870b08856da0b0722e1.tar.bz2
historical-c2fda5b12803a36e3226b870b08856da0b0722e1.zip
add static-libs support
Package-Manager: portage-2.1.9.25/cvs/Linux i686
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/flatzebra/ChangeLog8
-rw-r--r--dev-games/flatzebra/Manifest4
-rw-r--r--dev-games/flatzebra/flatzebra-0.1.5.ebuild16
3 files changed, 21 insertions, 7 deletions
diff --git a/dev-games/flatzebra/ChangeLog b/dev-games/flatzebra/ChangeLog
index 93f998bbdab1..ab066b90cf9d 100644
--- a/dev-games/flatzebra/ChangeLog
+++ b/dev-games/flatzebra/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-games/flatzebra
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/flatzebra/ChangeLog,v 1.24 2010/08/13 12:34:18 josejx Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/flatzebra/ChangeLog,v 1.25 2011/01/16 03:35:49 mr_bones_ Exp $
+
+ 16 Jan 2011; Michael Sterrett <mr_bones_@gentoo.org>
+ flatzebra-0.1.5.ebuild:
+ add static-libs support
13 Aug 2010; Joseph Jezak <josejx@gentoo.org> flatzebra-0.1.5.ebuild:
Marked ppc stable for bug #325135.
diff --git a/dev-games/flatzebra/Manifest b/dev-games/flatzebra/Manifest
index 0dc34ec3c56f..35f5069e1b0c 100644
--- a/dev-games/flatzebra/Manifest
+++ b/dev-games/flatzebra/Manifest
@@ -1,4 +1,4 @@
DIST flatzebra-0.1.5.tar.gz 340636 RMD160 7b75f83a09d3a6ddb8930ee0d8a4578c3f91c523 SHA1 0629a8a5b5be0bf818cd216af4396a91689cf17d SHA256 d663aa222fb8ba3974ccbe82778ecd38e64a2d7524b12e54b3cf0dbb9f017c07
-EBUILD flatzebra-0.1.5.ebuild 816 RMD160 3cd027a6b5a6f8ea2822191797e86ec9898fece1 SHA1 d3fdeafd2d19e25ceff8f599f61d4e251cdc7f72 SHA256 01993ab1248f3328895e591bff01debac31570b15711f08e942b931bd0a4f029
-MISC ChangeLog 3021 RMD160 dce246b0479903bcdc8f175599422b890cea4758 SHA1 82b9bf894f1e73a0670caebf9fa1da94b3fa4c0e SHA256 d998ba78139297a4888f07641302cf7ae5c5c0835e50fe774744d9d50a84b6e1
+EBUILD flatzebra-0.1.5.ebuild 1043 RMD160 f690628fb530b0d5f76a3a41e95d147ca6a980b9 SHA1 7f8505304395386a54190803797d29b25bb6c65d SHA256 8873bf5003600818e70012287d6fe31829a99facf85d2c9bc2fe40db9fb6c28f
+MISC ChangeLog 3132 RMD160 1b93377bae17d9b4ecadf9208cbbd9efd21491a0 SHA1 0ace1b4b3523253c462f2865d23ebd9931942a08 SHA256 f47f8f92c983b79b0556ec44d1adba9a1b7d39628e52269f78fc062861d30110
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/dev-games/flatzebra/flatzebra-0.1.5.ebuild b/dev-games/flatzebra/flatzebra-0.1.5.ebuild
index 66ee13ef6770..153e1f410c30 100644
--- a/dev-games/flatzebra/flatzebra-0.1.5.ebuild
+++ b/dev-games/flatzebra/flatzebra-0.1.5.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/flatzebra/flatzebra-0.1.5.ebuild,v 1.4 2010/08/13 12:34:18 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/flatzebra/flatzebra-0.1.5.ebuild,v 1.5 2011/01/16 03:35:49 mr_bones_ Exp $
EAPI=2
@@ -11,7 +11,7 @@ SRC_URI="http://perso.b2b2c.ca/sarrazip/dev/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
-IUSE=""
+IUSE="static-libs"
RDEPEND="media-libs/libsdl[video]
media-libs/sdl-image
@@ -26,7 +26,17 @@ src_prepare() {
|| die "sed failed"
}
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable static-libs static)
+}
+
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS NEWS README THANKS TODO
+ if ! use static-libs ; then
+ find "${D}" -type f -name '*.la' -exec rm {} + \
+ || die "la removal failed"
+ fi
}