From d1f5a6ef30c219a9a82f90444078ede24866c739 Mon Sep 17 00:00:00 2001 From: Tristan Heaven Date: Wed, 13 Jun 2007 16:22:28 +0000 Subject: Install cfg into GAMES_SYSCONFDIR; compile fix for new libggi version Package-Manager: portage-2.1.2.9 --- games-action/koth/ChangeLog | 7 +++++-- games-action/koth/Manifest | 26 ++++++++++++++++++-------- games-action/koth/koth-0.8.0.ebuild | 25 ++++++++++++++++--------- 3 files changed, 39 insertions(+), 19 deletions(-) (limited to 'games-action') diff --git a/games-action/koth/ChangeLog b/games-action/koth/ChangeLog index e454316f6a9c..8ac255253622 100644 --- a/games-action/koth/ChangeLog +++ b/games-action/koth/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-action/koth -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/koth/ChangeLog,v 1.12 2005/06/15 17:31:31 wolf31o2 Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/koth/ChangeLog,v 1.13 2007/06/13 16:22:28 nyhm Exp $ + + 13 Jun 2007; Tristan Heaven koth-0.8.0.ebuild: + Install cfg into GAMES_SYSCONFDIR; compile fix for new libggi version 15 Jun 2005; Chris Gianelloni koth-0.7.7.ebuild, koth-0.8.0.ebuild: diff --git a/games-action/koth/Manifest b/games-action/koth/Manifest index 987a6f697f92..b4968d032f3c 100644 --- a/games-action/koth/Manifest +++ b/games-action/koth/Manifest @@ -1,16 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX koth-0.8.0-gcc-3.4.patch 612 RMD160 332b135448f69e738d3d3546b64161850b8ba378 SHA1 53def4cb72c0bfad3f297e1793c837169a551a27 SHA256 edc4f8f53e5a6830251e42d0efdd416ab761fd3cb1a4551a78626be712dc7dcc MD5 8ad7c4c5d637f02056ba07416f3696a0 files/koth-0.8.0-gcc-3.4.patch 612 RMD160 332b135448f69e738d3d3546b64161850b8ba378 files/koth-0.8.0-gcc-3.4.patch 612 SHA256 edc4f8f53e5a6830251e42d0efdd416ab761fd3cb1a4551a78626be712dc7dcc files/koth-0.8.0-gcc-3.4.patch 612 DIST koth-0.8.0.tar.bz2 140569 RMD160 3ea8ef52cab309a764e0379031606d2a949e6553 SHA1 6cb04ae1f09c4fb521fb47465ab91a1d67986c41 SHA256 1f61e1c354ab2b425b33b1504fb181d8bf9e0b6e154c6d3a516b2f98f7c805d8 -EBUILD koth-0.8.0.ebuild 843 RMD160 888ceb99f63c51b695c17677a509944848259a35 SHA1 00e54850e95ae5d19a9e92005dcc6d85b53dbdc8 SHA256 4ef24ec4d89a06338a34df8fe8b96cb770d5fe83cd3ad34b20fdd87855e4209e -MD5 148056f798956f7512a3bfb3c6680d46 koth-0.8.0.ebuild 843 -RMD160 888ceb99f63c51b695c17677a509944848259a35 koth-0.8.0.ebuild 843 -SHA256 4ef24ec4d89a06338a34df8fe8b96cb770d5fe83cd3ad34b20fdd87855e4209e koth-0.8.0.ebuild 843 -MISC ChangeLog 1854 RMD160 548fbb0f1a2908942cd40281d11f51e487f48630 SHA1 95c402244ec94c70a8d4cbfd9cb759339517d188 SHA256 ad48b982f4b8ba88b34d93c4aa3a4a40735b57405dc7503aa55db681f6efab0b -MD5 d00b2fc967a184a73ca725e812d78e13 ChangeLog 1854 -RMD160 548fbb0f1a2908942cd40281d11f51e487f48630 ChangeLog 1854 -SHA256 ad48b982f4b8ba88b34d93c4aa3a4a40735b57405dc7503aa55db681f6efab0b ChangeLog 1854 +EBUILD koth-0.8.0.ebuild 1115 RMD160 84ecfb3d04d77f43e91acf8057c552363f89dec5 SHA1 27b35abf016a0eaede3516db97237acb4bc61685 SHA256 f856fca1ff352beed9073b1e749c4823ef1a9bf372d937f5f8a12522fa9787cb +MD5 44fbed46c7f8f8255c544fb9ce38a8b9 koth-0.8.0.ebuild 1115 +RMD160 84ecfb3d04d77f43e91acf8057c552363f89dec5 koth-0.8.0.ebuild 1115 +SHA256 f856fca1ff352beed9073b1e749c4823ef1a9bf372d937f5f8a12522fa9787cb koth-0.8.0.ebuild 1115 +MISC ChangeLog 1990 RMD160 c226c323a076bfbcf5fc5b6508ebcc16856d45af SHA1 e5945781594f67075de465dd5e2e72e6b3a2df05 SHA256 2452d5616bf03111bc79c9630dfd7dd5acfcfc0900ea6695afb0da67883638ca +MD5 6e0a8b77c2255429fe3def62f4a13283 ChangeLog 1990 +RMD160 c226c323a076bfbcf5fc5b6508ebcc16856d45af ChangeLog 1990 +SHA256 2452d5616bf03111bc79c9630dfd7dd5acfcfc0900ea6695afb0da67883638ca ChangeLog 1990 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -18,3 +21,10 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata MD5 fc6fbe12d98564b9df4c6761f95c4fac files/digest-koth-0.8.0 235 RMD160 01220453b4596a58ce4ccb0053788a398bd7b210 files/digest-koth-0.8.0 235 SHA256 f4efc328b6fdd3dc23e72284033a5104b7d0a4ae211651ff0d10db6ff56bd6c8 files/digest-koth-0.8.0 235 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.4 (GNU/Linux) + +iD8DBQFGcBnKdz7hIScOURERAjruAJ98oiSICNPax5h2Ddo68LK2Kve2cgCgudSF +7eeo6fQCAfq1glELyPOJBeU= +=YZZQ +-----END PGP SIGNATURE----- diff --git a/games-action/koth/koth-0.8.0.ebuild b/games-action/koth/koth-0.8.0.ebuild index 0ebf7e264622..9297a2d1dfdf 100644 --- a/games-action/koth/koth-0.8.0.ebuild +++ b/games-action/koth/koth-0.8.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation and Arcady Genkin +# Copyright 1999-2007 Gentoo Foundation and Arcady Genkin # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/koth/koth-0.8.0.ebuild,v 1.13 2005/06/15 17:31:31 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/koth/koth-0.8.0.ebuild,v 1.14 2007/06/13 16:22:28 nyhm Exp $ inherit eutils games @@ -15,16 +15,23 @@ IUSE="" DEPEND="media-libs/libggi" -src_unpack(){ - unpack ${A} - cd ${S}/src - epatch ${FILESDIR}/koth-0.8.0-gcc-3.4.patch +src_unpack() { + unpack "${A}" + cd "${S}" + sed -i 's:-g -O2::' configure \ + || die "sed configure failed" + cd src + epatch "${FILESDIR}"/${P}-gcc-3.4.patch + sed -i "s:/etc/koth:${GAMES_SYSCONFDIR}:" cfgfile.h \ + || die "sed cfgfile.h failed" + sed -i 's:(uint16):(uint16_t):' gfx.c gfx.h \ + || die "sed gfx.c gfx.h failed" } src_install() { - make DESTDIR=${D} install || die "make install failed" - insinto /etc/koth - doins src/koth.cfg + emake DESTDIR="${D}" install || die "emake install failed" + insinto "${GAMES_SYSCONFDIR}" + doins src/koth.cfg || die "doins failed" dodoc AUTHORS ChangeLog NEWS README doc/*.txt prepgamesdirs } -- cgit v1.2.3-65-gdbad