summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-02-19 13:38:00 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-02-19 13:38:00 +0000
commitad4e19efe8036df90e48f321f14c0865cf30acf7 (patch)
treea86c4d5e8fe52c3d60c36d707e44c943dd392010 /dev-games
parentDo not install static-libs unless requested and remove not-required .la files. (diff)
downloadgentoo-2-ad4e19efe8036df90e48f321f14c0865cf30acf7.tar.gz
gentoo-2-ad4e19efe8036df90e48f321f14c0865cf30acf7.tar.bz2
gentoo-2-ad4e19efe8036df90e48f321f14c0865cf30acf7.zip
Do not install static-libs unless requested and remove not-required .la files.
(Portage version: 2.2.0_alpha87/cvs/Linux x86_64)
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/ggz-client-libs/ChangeLog9
-rw-r--r--dev-games/ggz-client-libs/ggz-client-libs-0.0.14.1.ebuild19
2 files changed, 23 insertions, 5 deletions
diff --git a/dev-games/ggz-client-libs/ChangeLog b/dev-games/ggz-client-libs/ChangeLog
index 3851715b6f2d..d30ed63bde80 100644
--- a/dev-games/ggz-client-libs/ChangeLog
+++ b/dev-games/ggz-client-libs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-games/ggz-client-libs
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ggz-client-libs/ChangeLog,v 1.34 2010/01/22 22:11:22 abcd Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ggz-client-libs/ChangeLog,v 1.35 2012/02/19 13:38:00 scarabeus Exp $
+
+ 19 Feb 2012; Tomáš Chvátal <scarabeus@gentoo.org>
+ ggz-client-libs-0.0.14.1.ebuild:
+ Do not install static-libs unless requested and remove not-required .la
+ files.
22 Jan 2010; Jonathan Callen <abcd@gentoo.org>
ggz-client-libs-0.0.14.1.ebuild:
diff --git a/dev-games/ggz-client-libs/ggz-client-libs-0.0.14.1.ebuild b/dev-games/ggz-client-libs/ggz-client-libs-0.0.14.1.ebuild
index b8e6f08a404c..3464c45e046f 100644
--- a/dev-games/ggz-client-libs/ggz-client-libs-0.0.14.1.ebuild
+++ b/dev-games/ggz-client-libs/ggz-client-libs-0.0.14.1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ggz-client-libs/ggz-client-libs-0.0.14.1.ebuild,v 1.15 2010/01/22 22:11:22 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ggz-client-libs/ggz-client-libs-0.0.14.1.ebuild,v 1.16 2012/02/19 13:38:00 scarabeus Exp $
+
+EAPI=4
inherit games-ggz
@@ -10,11 +12,22 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~amd64-linux ~x86-linux"
-IUSE="debug"
+IUSE="debug static-libs"
RDEPEND="~dev-games/libggz-${PV}
dev-libs/expat
virtual/libintl"
DEPEND="${RDEPEND}
sys-devel/gettext"
+
PATCHES=( "${FILESDIR}"/${P}-destdir.patch )
+
+src_configure() {
+ games-ggz_src_configure \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ games-ggz_src_install
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}