summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2006-10-16 19:05:53 +0000
committerTristan Heaven <nyhm@gentoo.org>2006-10-16 19:05:53 +0000
commit0291f9768529fcdc4d708e1d25f3d5830429ab77 (patch)
treed097000809d463504fcea910bc0479443a9be3fb /dev-games/ggz-client-libs
parentVersion bump for security bug #145829. (diff)
downloadgentoo-2-0291f9768529fcdc4d708e1d25f3d5830429ab77.tar.gz
gentoo-2-0291f9768529fcdc4d708e1d25f3d5830429ab77.tar.bz2
gentoo-2-0291f9768529fcdc4d708e1d25f3d5830429ab77.zip
Use games.eclass
(Portage version: 2.1.2_pre3-r2)
Diffstat (limited to 'dev-games/ggz-client-libs')
-rw-r--r--dev-games/ggz-client-libs/ChangeLog6
-rw-r--r--dev-games/ggz-client-libs/ggz-client-libs-0.0.13.ebuild27
2 files changed, 29 insertions, 4 deletions
diff --git a/dev-games/ggz-client-libs/ChangeLog b/dev-games/ggz-client-libs/ChangeLog
index acd2f3dbc8e3..947428651484 100644
--- a/dev-games/ggz-client-libs/ChangeLog
+++ b/dev-games/ggz-client-libs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-games/ggz-client-libs
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ggz-client-libs/ChangeLog,v 1.14 2006/10/06 21:56:13 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ggz-client-libs/ChangeLog,v 1.15 2006/10/16 19:05:53 nyhm Exp $
+
+ 16 Oct 2006; Tristan Heaven <nyhm@gentoo.org>
+ ggz-client-libs-0.0.13.ebuild:
+ Use games.eclass
06 Oct 2006; Tristan Heaven <nyhm@gentoo.org>
ggz-client-libs-0.0.13.ebuild:
diff --git a/dev-games/ggz-client-libs/ggz-client-libs-0.0.13.ebuild b/dev-games/ggz-client-libs/ggz-client-libs-0.0.13.ebuild
index 7b7ec50703a9..3fcac080db82 100644
--- a/dev-games/ggz-client-libs/ggz-client-libs-0.0.13.ebuild
+++ b/dev-games/ggz-client-libs/ggz-client-libs-0.0.13.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2006 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.13.ebuild,v 1.5 2006/10/06 21:56:13 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ggz-client-libs/ggz-client-libs-0.0.13.ebuild,v 1.6 2006/10/16 19:05:53 nyhm Exp $
+
+inherit games
DESCRIPTION="The client libraries for GGZ Gaming Zone"
HOMEPAGE="http://www.ggzgamingzone.org/"
@@ -12,15 +14,34 @@ SLOT="0"
KEYWORDS="-amd64 ppc x86"
IUSE=""
-DEPEND="~dev-games/libggz-0.0.13
+DEPEND="~dev-games/libggz-${PV}
dev-libs/expat"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i 's:$(prefix)/share/locale:/usr/share/locale:' \
+ $(find po -name 'Makefile.in*') \
+ || die "sed failed"
+
+ sed -i '/SUBDIRS/s/desktop//' \
+ Makefile.in || die "sed failed"
+
+ sed -i 's:${prefix}/include:/usr/include:' \
+ configure || die "sed failed"
+}
+
src_compile() {
- econf --sysconfdir=/etc/ggz || die
+ egamesconf \
+ --disable-dependency-tracking \
+ --sysconfdir=${GAMES_SYSCONFDIR}/ggz \
+ || die
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog NEWS Quick* README*
+ prepgamesdirs
}