diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-06-29 01:41:47 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-06-29 01:41:47 +0000 |
commit | 38cfd7b3fdfc28213b39aa20e7047e580ddfafa4 (patch) | |
tree | 84ef245cefddfd0916d8dc16bd141eeeb6c9eecc /games-action/atanks | |
parent | Fix compilation with gcc-4.3 and 4.4 by Gene Seto <geneseto AT hotmail DOT co... (diff) | |
download | historical-38cfd7b3fdfc28213b39aa20e7047e580ddfafa4.tar.gz historical-38cfd7b3fdfc28213b39aa20e7047e580ddfafa4.tar.bz2 historical-38cfd7b3fdfc28213b39aa20e7047e580ddfafa4.zip |
version bump
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-action/atanks')
-rw-r--r-- | games-action/atanks/ChangeLog | 8 | ||||
-rw-r--r-- | games-action/atanks/Manifest | 5 | ||||
-rw-r--r-- | games-action/atanks/atanks-3.7.ebuild | 36 | ||||
-rw-r--r-- | games-action/atanks/files/atanks-3.7-build.patch | 116 |
4 files changed, 163 insertions, 2 deletions
diff --git a/games-action/atanks/ChangeLog b/games-action/atanks/ChangeLog index 4e31997f6a39..1ad4bb14d617 100644 --- a/games-action/atanks/ChangeLog +++ b/games-action/atanks/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-action/atanks # Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.39 2009/06/03 19:07:29 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.40 2009/06/29 01:41:46 mr_bones_ Exp $ + +*atanks-3.7 (29 Jun 2009) + + 29 Jun 2009; Michael Sterrett <mr_bones_@gentoo.org> + +files/atanks-3.7-build.patch, +atanks-3.7.ebuild: + version bump *atanks-3.6 (03 Jun 2009) diff --git a/games-action/atanks/Manifest b/games-action/atanks/Manifest index 4e6bd7bbf16f..f5270f6fb8cd 100644 --- a/games-action/atanks/Manifest +++ b/games-action/atanks/Manifest @@ -1,7 +1,10 @@ AUX atanks-3.6-build.patch 4321 RMD160 c5af2491ff6caec2a86751fc604fc7b8815f4254 SHA1 c00d1bfc02377a1e05200ff1a63e2a68056b22ca SHA256 f514d68545e973fdfde3a10fe029a809f14477d7794796a753e88d25129dd1ba +AUX atanks-3.7-build.patch 4498 RMD160 eeccd72cc6efc5d7cec9b0b0e49dfe07b8fc849c SHA1 8d05663b5afa6618b6b038e688d765b40a117763 SHA256 3b87472e4b13d367f47faf3e45fda8f44bb2b1d6f2349de74546ee10edc13575 DIST atanks-3.2.tar.gz 1380799 RMD160 1468b6c797f85320e078bad8aa611bf9e2085055 SHA1 64e9424c0e0bfe4afeedcfc40f033e4cff8d8d0f SHA256 0c5ec5c110aec13378071b63d8127454dc8daa88f59358d8f7ab29c16ce60d66 DIST atanks-3.6.tar.gz 1499778 RMD160 faa6da84356f968584c463a7568ad206ff5b643d SHA1 c314781a901e9087d7a35201538936706f2cdbde SHA256 145c413a7d1bb425e61070f620c3b7ca65c94efde8a8cc143cd3a6cbf98a490b +DIST atanks-3.7-stable.tar.gz 1458056 RMD160 a0b776add1b7d2da337e5b7c1b6db04f37abff06 SHA1 2bf79c6ffd38fc35c6bbbf2ad487268c697a66cf SHA256 961450479d87482653acbcd733984d329bb8b260f2bf70a3c648d1297e02045a EBUILD atanks-3.2.ebuild 1022 RMD160 68fd537b659cf827d3f7ea1d8ad46ef995ed9edf SHA1 9d2621f3ba9552fd8900717e1c993f81097a4c30 SHA256 3e913cb0dd0e8e1f4c763723fcd25ea142fd735863e393bb418400ddd8eeb1c4 EBUILD atanks-3.6.ebuild 893 RMD160 eef27b02310303ff7ca5fee7f40e5275113f7c55 SHA1 1f3fccf0fca35d7a923764bea19d1074c57d6996 SHA256 75215c76f310d52b89e98d6be60266095f47707f448181475552a8a9777430b8 -MISC ChangeLog 5927 RMD160 9b08b17530c227f4881dc53d77c5fd347596048c SHA1 6b7d465c26505a4815cf9ec6b6480030e4165294 SHA256 f9368648a98e53b329196bcb61cc61f74d09385518b70253d3cfb447f0cf9948 +EBUILD atanks-3.7.ebuild 900 RMD160 02cefb2db3c345c35db653a3badf5a3304168760 SHA1 a439d150817bf521577cb7b0ad294dc69d84f4ff SHA256 61077317d58b0a9e08a130f24e1735e3234fc39815d2b079e6a8b0c974c64605 +MISC ChangeLog 6078 RMD160 e764b0327902854b83b4d3480f9f8a4089b79ded SHA1 11666fe2ffb85bc98c1f71f624599d3f495211bc SHA256 5411b79cb49eafefd0037c2845d871825a67b46e5516c2cc281e3be2a8ecf103 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-action/atanks/atanks-3.7.ebuild b/games-action/atanks/atanks-3.7.ebuild new file mode 100644 index 000000000000..15e5ae606c6d --- /dev/null +++ b/games-action/atanks/atanks-3.7.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/atanks-3.7.ebuild,v 1.1 2009/06/29 01:41:46 mr_bones_ Exp $ + +EAPI=2 +inherit eutils games + +DESCRIPTION="Worms and Scorched Earth-like game" +HOMEPAGE="http://atanks.sourceforge.net/" +SRC_URI="mirror://sourceforge/atanks/${P}-stable.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="media-libs/allegro[X]" + +PATCHES=( "${FILESDIR}"/${P}-build.patch ) + +src_compile() { + emake \ + BINDIR="${GAMES_BINDIR}" + INSTALLDIR="${GAMES_DATADIR}/${PN}" \ + || die "emake failed" +} + +src_install() { + dogamesbin ${PN} || die "dogamesbin failed" + insinto "${GAMES_DATADIR}"/${PN} + doins *.dat *.txt || die "doins failed" + doicon ${PN}.png + make_desktop_entry atanks "Atomic Tanks" + dodoc Changelog README TODO + prepgamesdirs +} diff --git a/games-action/atanks/files/atanks-3.7-build.patch b/games-action/atanks/files/atanks-3.7-build.patch new file mode 100644 index 000000000000..60819abfa801 --- /dev/null +++ b/games-action/atanks/files/atanks-3.7-build.patch @@ -0,0 +1,116 @@ +diff -ru atanks-3.7.orig/src/Makefile atanks-3.7/src/Makefile +--- atanks-3.7.orig/src/Makefile 2009-06-23 19:33:53.000000000 -0400 ++++ atanks-3.7/src/Makefile 2009-06-28 21:30:13.000000000 -0400 +@@ -3,9 +3,6 @@ + MODULES = atanks.o beam.o button.o environment.o explosion.o fade.o files.o globaldata.o \ + missile.o perlin.o physobj.o player.o satellite.o sky.o tank.o team.o teleport.o virtobj.o update.o + +-CPP=g++ +-CC=gcc +-LD=g++ + LIB=ar + WINDRES= + #FLAGS += -DDATA_DIR=\".\" +@@ -14,10 +11,10 @@ + WFLAGS = + OFLAGS = + LFLAGS += +-LDFLAGS = `allegro-config --libs` ++LDFLAGS += `allegro-config --libs` + +-CFLAGS += -g -Wall -Iinclude # -fprofile-arcs -ftest-coverage +-# CFLAGS += -g # debug vs optimize flags ++CXXFLAGS += -g -Wall -Iinclude # -fprofile-arcs -ftest-coverage ++# CXXFLAGS += -g # debug vs optimize flags + # No, let the user decide! + + SRCS = $(MODULES:.o=.cpp) +@@ -34,67 +31,67 @@ + $(MODULES): Makefile + + atanks.o: atanks.cpp +- $(CPP) -c atanks.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS) ++ $(CXX) -c atanks.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS) + + button.o: button.cpp +- $(CPP) -c button.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS) ++ $(CXX) -c button.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS) + + environment.o: environment.cpp +- $(CPP) -c environment.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS) ++ $(CXX) -c environment.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS) + + explosion.o: explosion.cpp +- $(CPP) -c explosion.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS) ++ $(CXX) -c explosion.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS) + + files.o: files.cpp +- $(CPP) -c files.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS) ++ $(CXX) -c files.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS) + + # No longer needed, as floattext is fully inline now! + # floattext.o: +-# $(CPP) -c floattext.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS) ++# $(CXX) -c floattext.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS) + + globaldata.o: globaldata.cpp +- $(CPP) -c globaldata.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS) ++ $(CXX) -c globaldata.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS) + + missile.o: missile.cpp +- $(CPP) -c missile.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS) ++ $(CXX) -c missile.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS) + + teleport.o: teleport.cpp +- $(CPP) -c teleport.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS) ++ $(CXX) -c teleport.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS) + + physobj.o: physobj.cpp +- $(CPP) -c physobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS) ++ $(CXX) -c physobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS) + + player.o: player.cpp +- $(CPP) -c player.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS) ++ $(CXX) -c player.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS) + + tank.o: tank.cpp +- $(CPP) -c tank.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS) ++ $(CXX) -c tank.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS) + + team.o: team.cpp +- $(CPP) -c team.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS) ++ $(CXX) -c team.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS) + + virtobj.o: virtobj.cpp +- $(CPP) -c virtobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS) ++ $(CXX) -c virtobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS) + + fade.o: fade.cpp +- $(CPP) -c fade.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS) ++ $(CXX) -c fade.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS) + + perlin.o: perlin.cpp +- $(CPP) -c perlin.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS) ++ $(CXX) -c perlin.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS) + + sky.o: sky.cpp +- $(CPP) -c sky.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS) ++ $(CXX) -c sky.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS) + + satellite.o: satellite.cpp +- $(CPP) -c satellite.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS) ++ $(CXX) -c satellite.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS) + update.o: update.cpp update.h +- $(CPP) -c update.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS) ++ $(CXX) -c update.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS) + + %.o: %.cpp %.h +- $(CPP) -c $< -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS) ++ $(CXX) -c $< -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS) + + $(OUTPUT): $(OBJECTS) $(MODULES) +- $(CPP) $(MODULES) -o $(OUTPUT) $(FLAGS) $(LFLAGS) $(LDFLAGS) $(SFLAGS) $(CFLAGS) ++ $(CXX) $(MODULES) -o $(OUTPUT) $(FLAGS) $(LFLAGS) $(LDFLAGS) $(SFLAGS) $(CXXFLAGS) + # strip $(OUTPUT) + + # dependencies: |