diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-11-13 21:04:32 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-11-13 21:04:32 +0000 |
commit | dc6e9b8ce5be8043c541fa56c7ed7ca1a1b14bb3 (patch) | |
tree | faf27e291d609f2cc4c757694b355739328f6d81 /games-action/geki2-KXL | |
parent | fix version numbers that aren't needed anymore (diff) | |
download | gentoo-2-dc6e9b8ce5be8043c541fa56c7ed7ca1a1b14bb3.tar.gz gentoo-2-dc6e9b8ce5be8043c541fa56c7ed7ca1a1b14bb3.tar.bz2 gentoo-2-dc6e9b8ce5be8043c541fa56c7ed7ca1a1b14bb3.zip |
games.eclass support
Diffstat (limited to 'games-action/geki2-KXL')
-rw-r--r-- | games-action/geki2-KXL/ChangeLog | 8 | ||||
-rw-r--r-- | games-action/geki2-KXL/files/2.0.3-gentoo-paths.patch | 49 | ||||
-rw-r--r-- | games-action/geki2-KXL/files/digest-geki2-KXL-2.0.3-r1 (renamed from games-action/geki2-KXL/files/digest-geki2-KXL-2.0.3) | 0 | ||||
-rw-r--r-- | games-action/geki2-KXL/geki2-KXL-2.0.3-r1.ebuild (renamed from games-action/geki2-KXL/geki2-KXL-2.0.3.ebuild) | 18 |
4 files changed, 68 insertions, 7 deletions
diff --git a/games-action/geki2-KXL/ChangeLog b/games-action/geki2-KXL/ChangeLog index c0e0f3f1742c..ccaf554728ad 100644 --- a/games-action/geki2-KXL/ChangeLog +++ b/games-action/geki2-KXL/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-action/geki2-KXL # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/geki2-KXL/ChangeLog,v 1.2 2003/09/10 20:27:59 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/geki2-KXL/ChangeLog,v 1.3 2003/11/13 21:04:32 vapier Exp $ + +*geki2-KXL-2.0.3-r1 (13 Nov 2002) + + 13 Nov 2002; Mike Frysinger <vapier@gentoo.org> : + Add games.eclass support. *geki2-KXL-2.0.3 (06 Jul 2002) @@ -9,5 +14,4 @@ 06 Jul 2002; Ben Lutgens <lamer@gentoo.org> geki2-KXL-2.0.3.ebuild, files/digest-geki2-KXL-2.0.3, ChangeLog : - New Package diff --git a/games-action/geki2-KXL/files/2.0.3-gentoo-paths.patch b/games-action/geki2-KXL/files/2.0.3-gentoo-paths.patch new file mode 100644 index 000000000000..ff41c4ae7852 --- /dev/null +++ b/games-action/geki2-KXL/files/2.0.3-gentoo-paths.patch @@ -0,0 +1,49 @@ +diff -ur geki2-KXL-2.0.3.orig/bmp/Makefile.am geki2-KXL-2.0.3/bmp/Makefile.am +--- geki2-KXL-2.0.3.orig/bmp/Makefile.am 2003-11-13 15:36:41.238800544 -0500 ++++ geki2-KXL-2.0.3/bmp/Makefile.am 2003-11-13 15:36:41.639739592 -0500 +@@ -1,4 +1,4 @@ +-bmpdir = $(prefix)/share/geki2/bmp ++bmpdir = $(BMP_PATH) + bmp_DATA = back1.bmp boss2.bmp enemyshot4.bmp kuru.bmp myshot.bmp back2.bmp\ + boss3.bmp enemyshot5.bmp mboss.bmp uraura.bmp back3.bmp\ + boss3laser.bmp flash.bmp uturn.bmp back4.bmp back6.bmp boss6.bmp\ +diff -ur geki2-KXL-2.0.3.orig/configure.in geki2-KXL-2.0.3/configure.in +--- geki2-KXL-2.0.3.orig/configure.in 2003-11-13 15:36:41.208805104 -0500 ++++ geki2-KXL-2.0.3/configure.in 2003-11-13 15:36:59.337049192 -0500 +@@ -25,9 +25,9 @@ + BMP_PATH=/usr/local/share/geki2/bmp + WAV_PATH=/usr/local/share/geki2/wav + else +- DATA_PATH=$prefix/share/geki2/data +- BMP_PATH=$prefix/share/geki2/bmp +- WAV_PATH=$prefix/share/geki2/wav ++ DATA_PATH=$datadir/geki2/data ++ BMP_PATH=$datadir/geki2/bmp ++ WAV_PATH=$datadir/geki2/wav + fi + AC_DEFINE_UNQUOTED(DATA_PATH,"$DATA_PATH") + AC_DEFINE_UNQUOTED(BMP_PATH,"$BMP_PATH") +diff -ur geki2-KXL-2.0.3.orig/data/Makefile.am geki2-KXL-2.0.3/data/Makefile.am +--- geki2-KXL-2.0.3.orig/data/Makefile.am 2003-11-13 15:36:41.214804192 -0500 ++++ geki2-KXL-2.0.3/data/Makefile.am 2003-11-13 15:36:41.641739288 -0500 +@@ -1,9 +1,9 @@ +-datadir = $(prefix)/share/geki2/data ++datadir = $(DATA_PATH) + data_DATA = stage1.dat stage2.dat stage3.dat stage4.dat stage5.dat stage6.dat\ + map1.dat map2.dat map3.dat map4.dat map5.dat map6.dat + EXTRA_DIST = stage1.dat stage2.dat stage3.dat stage4.dat stage5.dat stage6.dat\ + map1.dat map2.dat map3.dat map4.dat map5.dat map6.dat .score + + install: +- $(INSTALL) -c -m 666 ./.score $(DESTDIR)$(DATA_PATH) ++ $(INSTALL) -c -m 660 ./.score $(DESTDIR)$(DATA_PATH) + +diff -ur geki2-KXL-2.0.3.orig/wav/Makefile.am geki2-KXL-2.0.3/wav/Makefile.am +--- geki2-KXL-2.0.3.orig/wav/Makefile.am 2003-11-13 15:36:41.230801760 -0500 ++++ geki2-KXL-2.0.3/wav/Makefile.am 2003-11-13 15:36:41.643738984 -0500 +@@ -1,4 +1,4 @@ +-wavdir = $(prefix)/share/geki2/wav ++wavdir = $(WAV_PATH) + wav_DATA = bgm1.wav bgm2.wav bgm3.wav bgm4.wav bgm5.wav\ + bomb.wav laser5.wav warning.wav boss.wav open.wav\ + laser.wav pow.wav go.wav bgm6.wav diff --git a/games-action/geki2-KXL/files/digest-geki2-KXL-2.0.3 b/games-action/geki2-KXL/files/digest-geki2-KXL-2.0.3-r1 index a5f8aee9318d..a5f8aee9318d 100644 --- a/games-action/geki2-KXL/files/digest-geki2-KXL-2.0.3 +++ b/games-action/geki2-KXL/files/digest-geki2-KXL-2.0.3-r1 diff --git a/games-action/geki2-KXL/geki2-KXL-2.0.3.ebuild b/games-action/geki2-KXL/geki2-KXL-2.0.3-r1.ebuild index 0c157e43fb71..a696dc58e593 100644 --- a/games-action/geki2-KXL/geki2-KXL-2.0.3.ebuild +++ b/games-action/geki2-KXL/geki2-KXL-2.0.3-r1.ebuild @@ -1,10 +1,12 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/geki2-KXL/geki2-KXL-2.0.3.ebuild,v 1.1 2003/09/10 19:29:16 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/geki2-KXL/geki2-KXL-2.0.3-r1.ebuild,v 1.1 2003/11/13 21:04:32 vapier Exp $ + +inherit games DESCRIPTION="2D length scroll shooting game" -SRC_URI="http://kxl.hn.org/download/${P}.tar.gz" HOMEPAGE="http://kxl.hn.org/" +SRC_URI="http://kxl.hn.org/download/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" @@ -12,12 +14,18 @@ KEYWORDS="x86" DEPEND=">=dev-games/KXL-1.1.4" -src_compile() { - econf || die - emake || die +src_unpack() { + unpack ${A} + cp -rf ${S}{,.orig} + cd ${S} + epatch ${FILESDIR}/${PV}-gentoo-paths.patch + aclocal || die "aclocal failed" + automake -a || die "automake failed" + autoconf || die "autoconf failed" } src_install() { make DESTDIR=${D} install || die dodoc ChangeLog COPYING README + prepgamesdirs } |