From e3bd3835b4e597e1e3b171e26696ea14a4a17ee1 Mon Sep 17 00:00:00 2001 From: Tristan Heaven Date: Wed, 31 Jan 2007 10:32:25 +0000 Subject: Version bump (Portage version: 2.1.2-r5) --- games-action/rafkill/ChangeLog | 10 ++++-- games-action/rafkill/files/digest-rafkill-1.2.3 | 3 ++ .../rafkill/files/rafkill-1.2.3-build.patch | 16 +++++++++ games-action/rafkill/rafkill-1.2.3.ebuild | 41 ++++++++++++++++++++++ 4 files changed, 68 insertions(+), 2 deletions(-) create mode 100644 games-action/rafkill/files/digest-rafkill-1.2.3 create mode 100644 games-action/rafkill/files/rafkill-1.2.3-build.patch create mode 100644 games-action/rafkill/rafkill-1.2.3.ebuild (limited to 'games-action') diff --git a/games-action/rafkill/ChangeLog b/games-action/rafkill/ChangeLog index ab9a759830e0..138fa5e25a20 100644 --- a/games-action/rafkill/ChangeLog +++ b/games-action/rafkill/ChangeLog @@ -1,6 +1,12 @@ # 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.2 2006/11/28 19:02:20 nyhm Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/rafkill/ChangeLog,v 1.3 2007/01/31 10:32:25 nyhm Exp $ + +*rafkill-1.2.3 (31 Jan 2007) + + 31 Jan 2007; Tristan Heaven + +files/rafkill-1.2.3-build.patch, +rafkill-1.2.3.ebuild: + Version bump 28 Nov 2006; Tristan Heaven files/rafkill-1.2.2-build.patch: diff --git a/games-action/rafkill/files/digest-rafkill-1.2.3 b/games-action/rafkill/files/digest-rafkill-1.2.3 new file mode 100644 index 000000000000..0fa5cf489fe0 --- /dev/null +++ b/games-action/rafkill/files/digest-rafkill-1.2.3 @@ -0,0 +1,3 @@ +MD5 1fc57e141e815a1128ceb49c587e6024 rafkill-1.2.3.tar.gz 6221729 +RMD160 2d0388e84c20a649618669bbfe5a2397521871b2 rafkill-1.2.3.tar.gz 6221729 +SHA256 7d43026b33b63b2b01ea2d0169653749e6f8404b30ba5a2701e797bb16d0a63a rafkill-1.2.3.tar.gz 6221729 diff --git a/games-action/rafkill/files/rafkill-1.2.3-build.patch b/games-action/rafkill/files/rafkill-1.2.3-build.patch new file mode 100644 index 000000000000..f894c8ce9c10 --- /dev/null +++ b/games-action/rafkill/files/rafkill-1.2.3-build.patch @@ -0,0 +1,16 @@ +--- SConstruct ++++ SConstruct +@@ -46,7 +46,12 @@ + # print "Install directory = $prefix" + # print "Directory where symlinked binary will go = $bin" + +-flags = [ '-g3', '-Wall', '-fno-rtti', '-Woverloaded-virtual', '-O2', '-DINSTALL_DIR=\\\"$prefix\\\"' ]; ++SConsignFile() ++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/rafkill-1.2.3.ebuild b/games-action/rafkill/rafkill-1.2.3.ebuild new file mode 100644 index 000000000000..54ee8bdb34dc --- /dev/null +++ b/games-action/rafkill/rafkill-1.2.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/rafkill/rafkill-1.2.3.ebuild,v 1.1 2007/01/31 10:32:25 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" +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 ${PN} || die "dogamesbin failed" + insinto "${GAMES_DATADIR}"/${PN} + doins -r data music || die "doins failed" + dodoc README + prepgamesdirs +} -- cgit v1.2.3-65-gdbad