summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-10 19:29:16 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-10 19:29:16 +0000
commitf199057b8679cd2eed424fccb45361c89a133d31 (patch)
treee6ec41e59db82809cd99452c53c9efe67a3985e3 /games-action/raptor2
parentgames action and arcade (diff)
downloadgentoo-2-f199057b8679cd2eed424fccb45361c89a133d31.tar.gz
gentoo-2-f199057b8679cd2eed424fccb45361c89a133d31.tar.bz2
gentoo-2-f199057b8679cd2eed424fccb45361c89a133d31.zip
action games !
Diffstat (limited to 'games-action/raptor2')
-rw-r--r--games-action/raptor2/ChangeLog19
-rw-r--r--games-action/raptor2/Manifest6
-rw-r--r--games-action/raptor2/files/1.0.0-chdir.patch10
-rw-r--r--games-action/raptor2/files/digest-raptor2-1.0.01
-rw-r--r--games-action/raptor2/files/digest-raptor2-1.0.0-r11
-rw-r--r--games-action/raptor2/raptor2-1.0.0-r1.ebuild37
-rw-r--r--games-action/raptor2/raptor2-1.0.0.ebuild45
7 files changed, 119 insertions, 0 deletions
diff --git a/games-action/raptor2/ChangeLog b/games-action/raptor2/ChangeLog
new file mode 100644
index 000000000000..3e5e79045fd3
--- /dev/null
+++ b/games-action/raptor2/ChangeLog
@@ -0,0 +1,19 @@
+# ChangeLog for app-games/raptor2
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/raptor2/ChangeLog,v 1.1 2003/09/10 19:29:16 vapier Exp $
+
+*raptor2-1.0.0-r1 (20 Jul 2003)
+
+ 20 Jul 2003; jje <jje@gentoo.org> raptor2-1.0.0-r1.ebuild,
+ raptor2-1.0.0.ebuild:
+ New revision to use split dumb / allegro builds.
+
+ Submitted by: Ben Davis <entheh@users.sf.net>
+
+ 04 Jul 2003; Michael Sterrett <msterret@gentoo.org> raptor2-1.0.0.ebuild:
+ use sed -i
+
+*raptor2-1.0.0 (09 Mar 2003)
+
+ 09 Mar 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Daniel Mannarino <thesnark@operamail.com> #16985.
diff --git a/games-action/raptor2/Manifest b/games-action/raptor2/Manifest
new file mode 100644
index 000000000000..87adc45789be
--- /dev/null
+++ b/games-action/raptor2/Manifest
@@ -0,0 +1,6 @@
+MD5 ee85df7f290384c5b32e7aa0f1ff1bc5 files/digest-raptor2-1.0.0 65
+MD5 563987e822f08af130b65e3862776d6c files/1.0.0-chdir.patch 291
+MD5 ee85df7f290384c5b32e7aa0f1ff1bc5 files/digest-raptor2-1.0.0-r1 65
+MD5 bdd5481a1b11e27051c051c9c5f3bff2 ChangeLog 695
+MD5 df334872064328643ddb3f873c8f9a12 raptor2-1.0.0.ebuild 1017
+MD5 555658be89d501a15e629bc66492ae0d raptor2-1.0.0-r1.ebuild 905
diff --git a/games-action/raptor2/files/1.0.0-chdir.patch b/games-action/raptor2/files/1.0.0-chdir.patch
new file mode 100644
index 000000000000..4b0db360ff5f
--- /dev/null
+++ b/games-action/raptor2/files/1.0.0-chdir.patch
@@ -0,0 +1,10 @@
+--- /root/raptor.cpp Wed Mar 5 22:19:53 2003
++++ src/raptor.cpp Wed Mar 5 22:20:53 2003
+@@ -478,6 +478,7 @@
+ bool dl = true;
+ int gs = 40;
+
++ chdir ("GENTOO_DATADIR");
+ printf("raptor -h for help screen\n");
+ for ( int q = 1; q < argc; q++ ) {
+ if ( strcmp( argv[q], "-h" ) == 0 ||
diff --git a/games-action/raptor2/files/digest-raptor2-1.0.0 b/games-action/raptor2/files/digest-raptor2-1.0.0
new file mode 100644
index 000000000000..0b48b3be8fab
--- /dev/null
+++ b/games-action/raptor2/files/digest-raptor2-1.0.0
@@ -0,0 +1 @@
+MD5 f30a75ca2f3b6caddee3eb036d0a3a99 raptor-1.0.0.tar.gz 5190559
diff --git a/games-action/raptor2/files/digest-raptor2-1.0.0-r1 b/games-action/raptor2/files/digest-raptor2-1.0.0-r1
new file mode 100644
index 000000000000..0b48b3be8fab
--- /dev/null
+++ b/games-action/raptor2/files/digest-raptor2-1.0.0-r1
@@ -0,0 +1 @@
+MD5 f30a75ca2f3b6caddee3eb036d0a3a99 raptor-1.0.0.tar.gz 5190559
diff --git a/games-action/raptor2/raptor2-1.0.0-r1.ebuild b/games-action/raptor2/raptor2-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..5f97493e5b9b
--- /dev/null
+++ b/games-action/raptor2/raptor2-1.0.0-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/raptor2/raptor2-1.0.0-r1.ebuild,v 1.1 2003/09/10 19:29:16 vapier Exp $
+
+inherit eutils games
+
+MY_P="raptor-${PV}"
+DESCRIPTION="space shoot-em-up game"
+SRC_URI="mirror://sourceforge/raptorv2/${MY_P}.tar.gz"
+HOMEPAGE="http://raptorv2.sourceforge.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="oggvorbis nls"
+
+RDEPEND=">=media-libs/allegro-4.0.0
+ >=media-libs/aldumb-0.9.2"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A} && cd ${S}
+ epatch ${FILESDIR}/${PV}-chdir.patch
+ cd src && cp raptor.cpp{,.orig}
+ sed -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}/:" \
+ raptor.cpp.orig > raptor.cpp
+}
+
+src_install() {
+ dogamesbin src/raptor
+ insinto ${GAMES_DATADIR}/${PN}/data
+ doins data/*
+ dodoc AUTHORS ChangeLog README NEWS
+ prepgamesdirs
+}
+
diff --git a/games-action/raptor2/raptor2-1.0.0.ebuild b/games-action/raptor2/raptor2-1.0.0.ebuild
new file mode 100644
index 000000000000..844ad55b5155
--- /dev/null
+++ b/games-action/raptor2/raptor2-1.0.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/raptor2/raptor2-1.0.0.ebuild,v 1.1 2003/09/10 19:29:16 vapier Exp $
+
+inherit eutils games
+
+MY_P="raptor-${PV}"
+DESCRIPTION="space shoot-em-up game"
+SRC_URI="mirror://sourceforge/raptorv2/${MY_P}.tar.gz"
+HOMEPAGE="http://raptorv2.sourceforge.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="oggvorbis nls"
+
+DEPEND=">=sys-apps/sed-4"
+RDEPEND=">=media-libs/allegro-4.0.0
+ =media-libs/dumb-0.9.1"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A} && cd ${S}
+ epatch ${FILESDIR}/${PV}-chdir.patch
+ sed -i \
+ -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}/:" \
+ src/raptor.cpp || die "sed src/raptor.cpp failed"
+}
+
+src_compile() {
+ egamesconf || die "Configuration failed"
+ emake || die "Compilation failed"
+}
+
+src_install() {
+ dogamesbin src/raptor
+
+ insinto ${GAMES_DATADIR}/${PN}/data
+ doins data/*
+
+ dodoc AUTHORS ChangeLog README NEWS
+
+ prepgamesdirs
+}