summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-action/rafkill/ChangeLog10
-rw-r--r--games-action/rafkill/Manifest20
-rw-r--r--games-action/rafkill/files/digest-rafkill-1.2.23
-rw-r--r--games-action/rafkill/files/rafkill-1.2.2-build.patch15
-rw-r--r--games-action/rafkill/metadata.xml5
-rw-r--r--games-action/rafkill/rafkill-1.2.2.ebuild41
6 files changed, 94 insertions, 0 deletions
diff --git a/games-action/rafkill/ChangeLog b/games-action/rafkill/ChangeLog
new file mode 100644
index 000000000000..a37357557daf
--- /dev/null
+++ b/games-action/rafkill/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-action/rafkill
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/rafkill/ChangeLog,v 1.1 2006/10/30 07:52:05 nyhm Exp $
+
+*rafkill-1.2.2 (30 Oct 2006)
+
+ 30 Oct 2006; Tristan Heaven <nyhm@gentoo.org>
+ +files/rafkill-1.2.2-build.patch, +metadata.xml, +rafkill-1.2.2.ebuild:
+ Version bump (name change from games-action/raptor2)
+
diff --git a/games-action/rafkill/Manifest b/games-action/rafkill/Manifest
new file mode 100644
index 000000000000..ca25c660289e
--- /dev/null
+++ b/games-action/rafkill/Manifest
@@ -0,0 +1,20 @@
+AUX rafkill-1.2.2-build.patch 562 RMD160 67d0915f1772e17af7a7329abe81504a2b08882d SHA1 b56fe3ee6b130486d562cafbb14b2b6bd105dc85 SHA256 43f1eea50e94124b70919032fa0a7a241348eeafe212f583d3161007130e0343
+MD5 00abcebf03f56b9179cf34b3f57a0fa2 files/rafkill-1.2.2-build.patch 562
+RMD160 67d0915f1772e17af7a7329abe81504a2b08882d files/rafkill-1.2.2-build.patch 562
+SHA256 43f1eea50e94124b70919032fa0a7a241348eeafe212f583d3161007130e0343 files/rafkill-1.2.2-build.patch 562
+DIST rafkill-1.2.2.tar.gz 6221705 RMD160 f1141f73d129215103fc3386096106a79bc00003 SHA1 c0e68160307b8635961998b16ab573ca98e97761 SHA256 49f5b7db7857910e05e47b94e0bf4f700bea5e87a7f54549f7a408cd87c268d3
+EBUILD rafkill-1.2.2.ebuild 1009 RMD160 ae294f904ba4c023156c5509494aa82488b3cc59 SHA1 f8bf912c6468c270278a7edf1a2531475de284bf SHA256 27e154d38db58d103215d16e4d18f7a27873b828abb5cd584c57e2c9a6747012
+MD5 5e339d72eaa97a872b973eaf0a90e19f rafkill-1.2.2.ebuild 1009
+RMD160 ae294f904ba4c023156c5509494aa82488b3cc59 rafkill-1.2.2.ebuild 1009
+SHA256 27e154d38db58d103215d16e4d18f7a27873b828abb5cd584c57e2c9a6747012 rafkill-1.2.2.ebuild 1009
+MISC ChangeLog 329 RMD160 1cd16532f77c4b32d9f7c6de342f789ebe62b934 SHA1 3611e55a2554e2af90284b5d7c83c1c6b1cef4bc SHA256 9e8d532efe3efec22c1a23a0c7626d47c12298a28fed8ebd572a426af0926731
+MD5 fd7f8145078149ca9b73d2b2269afcbf ChangeLog 329
+RMD160 1cd16532f77c4b32d9f7c6de342f789ebe62b934 ChangeLog 329
+SHA256 9e8d532efe3efec22c1a23a0c7626d47c12298a28fed8ebd572a426af0926731 ChangeLog 329
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
+SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
+MD5 0d90b448509776e2a036355d3965107e files/digest-rafkill-1.2.2 244
+RMD160 5ed32c3f8840dea3212c7949894f2fdcc9083c30 files/digest-rafkill-1.2.2 244
+SHA256 4437406f2f71c07fd41c05279d3302a5d5f4e67caf4f33ec3b697c36a4521ba2 files/digest-rafkill-1.2.2 244
diff --git a/games-action/rafkill/files/digest-rafkill-1.2.2 b/games-action/rafkill/files/digest-rafkill-1.2.2
new file mode 100644
index 000000000000..e33aac13fd6a
--- /dev/null
+++ b/games-action/rafkill/files/digest-rafkill-1.2.2
@@ -0,0 +1,3 @@
+MD5 cbed08af529da15748441d2859f3f846 rafkill-1.2.2.tar.gz 6221705
+RMD160 f1141f73d129215103fc3386096106a79bc00003 rafkill-1.2.2.tar.gz 6221705
+SHA256 49f5b7db7857910e05e47b94e0bf4f700bea5e87a7f54549f7a408cd87c268d3 rafkill-1.2.2.tar.gz 6221705
diff --git a/games-action/rafkill/files/rafkill-1.2.2-build.patch b/games-action/rafkill/files/rafkill-1.2.2-build.patch
new file mode 100644
index 000000000000..ca8e0c283680
--- /dev/null
+++ b/games-action/rafkill/files/rafkill-1.2.2-build.patch
@@ -0,0 +1,15 @@
+--- SConstruct
++++ SConstruct
+@@ -46,7 +46,11 @@
+ # print "Install directory = $prefix"
+ # print "Directory where symlinked binary will go = $bin"
+
+-flags = [ '-g3', '-Wall', '-fno-rtti', '-Woverloaded-virtual', '-O2', '-DINSTALL_DIR=\\\"$prefix\\\"' ];
++env.Replace(CXX = os.environ['CXX'])
++if os.environ.get('CXXFLAGS'):
++ env.Replace(CPPFLAGS = os.environ['CXXFLAGS'])
++
++flags = [ '-Wall', '-fno-rtti', '-Woverloaded-virtual' ];
+ env.Append( CCFLAGS = flags, CPPPATH = [ "build" ] )
+
+ # SConscript( 'src/SConscript', build_dir='build', exports = 'env' );
diff --git a/games-action/rafkill/metadata.xml b/games-action/rafkill/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-action/rafkill/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-action/rafkill/rafkill-1.2.2.ebuild b/games-action/rafkill/rafkill-1.2.2.ebuild
new file mode 100644
index 000000000000..fe426fa78473
--- /dev/null
+++ b/games-action/rafkill/rafkill-1.2.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/rafkill/rafkill-1.2.2.ebuild,v 1.1 2006/10/30 07:52:05 nyhm Exp $
+
+inherit eutils toolchain-funcs games
+
+DESCRIPTION="space shoot-em-up game"
+HOMEPAGE="http://raptorv2.sourceforge.net/"
+SRC_URI="mirror://sourceforge/raptorv2/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=media-libs/allegro-4.0.0
+ >=media-libs/aldumb-0.9.2"
+DEPEND="${RDEPEND}
+ dev-util/scons"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rm -f {data,music}/.sconsign
+ epatch "${FILESDIR}"/${P}-build.patch
+ sed -i "/^#define INSTALL_DIR/s:\.:${GAMES_DATADIR}:" \
+ src/defs.cpp || die "sed failed"
+}
+
+src_compile() {
+ tc-export CXX
+ scons || die "scons failed"
+}
+
+src_install() {
+ dogamesbin rafkill || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r data music || die "doins failed"
+ dodoc README
+ prepgamesdirs
+}