diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2008-03-31 03:15:40 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2008-03-31 03:15:40 +0000 |
commit | 5a0262692cd4e13d84c8d4123ea96affff6b53e0 (patch) | |
tree | 8678edf1731931a149c03550dcff8bf3ef1ffbc0 /games-action/btanks | |
parent | Stable for HPPA (bug #215371). (diff) | |
download | historical-5a0262692cd4e13d84c8d4123ea96affff6b53e0.tar.gz historical-5a0262692cd4e13d84c8d4123ea96affff6b53e0.tar.bz2 historical-5a0262692cd4e13d84c8d4123ea96affff6b53e0.zip |
old
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-action/btanks')
-rw-r--r-- | games-action/btanks/btanks-0.6.5069.ebuild | 58 | ||||
-rw-r--r-- | games-action/btanks/files/btanks-0.6.5069-scons-blows.patch | 35 |
2 files changed, 0 insertions, 93 deletions
diff --git a/games-action/btanks/btanks-0.6.5069.ebuild b/games-action/btanks/btanks-0.6.5069.ebuild deleted file mode 100644 index 6a16f56b9231..000000000000 --- a/games-action/btanks/btanks-0.6.5069.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/btanks/btanks-0.6.5069.ebuild,v 1.5 2008/02/29 18:20:33 carlo Exp $ - -inherit eutils games - -DESCRIPTION="Fast 2D tank arcade game with multiplayer and split-screen modes" -HOMEPAGE="http://btanks.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND=">=dev-libs/libsigc++-2.0 - media-libs/openal - media-libs/libsdl - media-libs/libvorbis - virtual/opengl - dev-libs/expat - media-libs/sdl-image" -DEPEND="${RDEPEND} - dev-util/scons - dev-util/pkgconfig" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-scons-blows.patch -} - -src_compile() { - scons \ - mode="release" \ - prefix=/usr \ - lib_dir="$(games_get_libdir)/${PN}" \ - resources_dir="${GAMES_DATADIR}/${PN}" \ - || die "scons" -} - -src_install() { - newgamesbin bt btanks || die "newgamesbin" - - insinto "$(games_get_libdir)"/${PN} - doins lib{mrt,bt,sdlx}.so || die "doins for lib.so failed" - - exeinto "${GAMES_DATADIR}/${PN}" - doexe libbt_objects.so || die "doins for libbt_objects.so failed" - insinto "${GAMES_DATADIR}/${PN}" - doins -r data || die "doins for data failed" - dodoc ChangeLog *.txt - - newicon src/bt.xpm ${PN}.xpm || die "newicon" - make_desktop_entry ${PN} "Battle Tanks" ${PN} - - prepgamesdirs -} diff --git a/games-action/btanks/files/btanks-0.6.5069-scons-blows.patch b/games-action/btanks/files/btanks-0.6.5069-scons-blows.patch deleted file mode 100644 index f3e9fed3bd76..000000000000 --- a/games-action/btanks/files/btanks-0.6.5069-scons-blows.patch +++ /dev/null @@ -1,35 +0,0 @@ -Respect env build settings, dont force crappy flags, and make sure -rpath is added properly. - ---- SConstruct -+++ SConstruct -@@ -81,16 +81,10 @@ - if env['gcc_visibility']: - env.Append(CCFLAGS=' -fvisibility-inlines-hidden -fvisibility=hidden '); - env.Append(CPPFLAGS=' -fvisibility-inlines-hidden -fvisibility=hidden '); -- if debug: -- env.Append(CCFLAGS='-ggdb ') -- env.Append(CPPFLAGS='-ggdb ') -- else: -- env.Append(CCFLAGS='-O3 ') -- env.Append(CPPFLAGS='-O3 ') - - al_lib = 'openal' -- env.Append(CPPFLAGS=' -Wall -pedantic -Wno-long-long -pipe -pthread ') -- env.Append(CCFLAGS=' -Wall -pedantic -Wno-long-long -pipe -pthread ') -+ env.Append(CPPFLAGS=' -Wall -pedantic -Wno-long-long -pthread ') -+ env.Append(CCFLAGS=' -Wall -pedantic -Wno-long-long -pthread ') - - - conf_env = env.Copy() ---- SConscript -+++ SConscript -@@ -94,7 +94,7 @@ - - Import('lib_dir') - if sys.platform != 'win32': -- bt_env.Append(LINKFLAGS=' -Wl,-rpath '+ lib_dir + ' -Wl,-rpath-link,build/' + env['mode'] + '/mrt') -- bt_env.Append(LINKFLAGS=' -Wl,-rpath '+ lib_dir + ' -Wl,-rpath-link,build/' + env['mode'] + '/sdlx') -+ bt_env.Append(LINKFLAGS=' -Wl,-rpath,'+ lib_dir + ' -Wl,-rpath-link,build/' + env['mode'] + '/mrt') -+ bt_env.Append(LINKFLAGS=' -Wl,-rpath,'+ lib_dir + ' -Wl,-rpath-link,build/' + env['mode'] + '/sdlx') - - bt_main = bt_env.Program('bt', bt_main_sources, LIBS=bt_main_libs, RPATH=[lib_dir]) |