summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-03-10 18:01:26 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-03-10 18:01:26 +0000
commit934ff9febf1e75728fb32cd3340728a4c4b32634 (patch)
tree9f2ded84660dcbad383c1f694c636b9591f940e7 /games-action/atanks
parentInitial commit - ebuild submitted by Marcel Schmedes via bug #275323 (diff)
downloadhistorical-934ff9febf1e75728fb32cd3340728a4c4b32634.tar.gz
historical-934ff9febf1e75728fb32cd3340728a4c4b32634.tar.bz2
historical-934ff9febf1e75728fb32cd3340728a4c4b32634.zip
version bump
Package-Manager: portage-2.1.7.17/cvs/Linux i686
Diffstat (limited to 'games-action/atanks')
-rw-r--r--games-action/atanks/ChangeLog8
-rw-r--r--games-action/atanks/Manifest5
-rw-r--r--games-action/atanks/atanks-4.4.ebuild41
-rw-r--r--games-action/atanks/files/atanks-4.4-build.patch131
4 files changed, 183 insertions, 2 deletions
diff --git a/games-action/atanks/ChangeLog b/games-action/atanks/ChangeLog
index ea3cf702ff9d..65bb55602f38 100644
--- a/games-action/atanks/ChangeLog
+++ b/games-action/atanks/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-action/atanks
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.44 2010/02/27 18:19:42 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.45 2010/03/10 18:01:25 mr_bones_ Exp $
+
+*atanks-4.4 (10 Mar 2010)
+
+ 10 Mar 2010; Michael Sterrett <mr_bones_@gentoo.org> +atanks-4.4.ebuild,
+ +files/atanks-4.4-build.patch:
+ version bump
27 Feb 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> atanks-4.3.ebuild:
x86 stable wrt bug #305673
diff --git a/games-action/atanks/Manifest b/games-action/atanks/Manifest
index 375718d9b488..26213d8b6858 100644
--- a/games-action/atanks/Manifest
+++ b/games-action/atanks/Manifest
@@ -1,8 +1,11 @@
AUX atanks-3.7-build.patch 4498 RMD160 eeccd72cc6efc5d7cec9b0b0e49dfe07b8fc849c SHA1 8d05663b5afa6618b6b038e688d765b40a117763 SHA256 3b87472e4b13d367f47faf3e45fda8f44bb2b1d6f2349de74546ee10edc13575
AUX atanks-4.3-build.patch 5361 RMD160 a38d9840f197278f3adf57772410f27e3c26587d SHA1 4dc83166f7087f0f452a56558f5b0a7e5b360ea4 SHA256 b2cf4e15ae389ead074cce9d9d1979acee0665c5c0f89bc679b87dbd3e7eb146
+AUX atanks-4.4-build.patch 5361 RMD160 a38d9840f197278f3adf57772410f27e3c26587d SHA1 4dc83166f7087f0f452a56558f5b0a7e5b360ea4 SHA256 b2cf4e15ae389ead074cce9d9d1979acee0665c5c0f89bc679b87dbd3e7eb146
DIST atanks-3.7-stable.tar.gz 1458056 RMD160 a0b776add1b7d2da337e5b7c1b6db04f37abff06 SHA1 2bf79c6ffd38fc35c6bbbf2ad487268c697a66cf SHA256 961450479d87482653acbcd733984d329bb8b260f2bf70a3c648d1297e02045a
DIST atanks-4.3.tar.gz 3364593 RMD160 408e81b8fd5cbd387703db5d9dcddc9d55f2d845 SHA1 daa210489168ba62336319e664d9a395723d61c7 SHA256 043abb872dc784a3e3a2fe36b7a5049fa98f4ef03ee49b8db13688d9b9123399
+DIST atanks-4.4.tar.gz 3096498 RMD160 33e97d2661514adc2154c2121dd99fd3e3e90921 SHA1 62ef8038430c2a3da65757e7caac4587450c61d0 SHA256 0790e83a9cac44c3a5fee69d9a4221e65bb25d7a8fc5125caf73720d9dc103c0
EBUILD atanks-3.7.ebuild 895 RMD160 a1c311962a89805a184fce5829b6245a4c633751 SHA1 64a690096236bc5348f043a28e33b8187f1d933f SHA256 3f4c65e68380fa6b34e7f5f325ed58ea470b69d35ac7b6fbb480db2adc9c0981
EBUILD atanks-4.3.ebuild 1040 RMD160 cb2273eaf1ae46f67cce999c82d743ece48561ae SHA1 041c214ae186f598ec36f4b91831b149a9bf20f5 SHA256 76b4bfe888f165840178fb30a792a8074e56513fef998349792136ca6c98e195
-MISC ChangeLog 6534 RMD160 81b4bd1ae10c3eabed06cf81792df26a05dcc231 SHA1 625e396d159aca0416ef93d72e06c12de3dd19a3 SHA256 4bb64efac267ac7bb7a8c61a104a8287bb4270999463eb0aa0633812ca47e69c
+EBUILD atanks-4.4.ebuild 1040 RMD160 5d06778b98482971f71e08b632e71a06fa13e791 SHA1 ba7e9dc5403ac7b4dcb1c556c71df128b044d491 SHA256 a66c07a0a0328fc8283747aaae23e19bd38647c078b28523018f71c334d4c559
+MISC ChangeLog 6684 RMD160 20c65fe805bc13d433d5b125752e0eec48bf0155 SHA1 952b367a1b666c93688b0464374246cde4668ba5 SHA256 1f4ff8d3a688c6ded783bcbdc788d89cc8620ca29eb2fdd8e43f217a968c6380
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-action/atanks/atanks-4.4.ebuild b/games-action/atanks/atanks-4.4.ebuild
new file mode 100644
index 000000000000..8975384cae9a
--- /dev/null
+++ b/games-action/atanks/atanks-4.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/atanks-4.4.ebuild,v 1.1 2010/03/10 18:01:25 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}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="media-libs/allegro[X]"
+
+src_prepare() {
+ find . -type f -name ".directory" -exec rm -vf '{}' +
+ epatch "${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 -r button misc missile sound stock tank tankgun text title \
+ unicode.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-4.4-build.patch b/games-action/atanks/files/atanks-4.4-build.patch
new file mode 100644
index 000000000000..a8a1443fc33e
--- /dev/null
+++ b/games-action/atanks/files/atanks-4.4-build.patch
@@ -0,0 +1,131 @@
+diff -ru atanks-4.3.orig/src/Makefile atanks-4.3/src/Makefile
+--- atanks-4.3.orig/src/Makefile 2010-01-14 20:24:24.000000000 -0500
++++ atanks-4.3/src/Makefile 2010-01-15 14:49:28.167487376 -0500
+@@ -4,20 +4,16 @@
+ missile.o perlin.o physobj.o player.o satellite.o sky.o tank.o team.o teleport.o virtobj.o \
+ update.o network.o floattext.o land.o text.o client.o
+
+-CPP=g++
+-CC=gcc
+-LD=g++
+ LIB=ar
+ WINDRES=
+-# FLAGS += -DDATA_DIR=\".\" -Wno-write-strings -DNETWORK -DTHREADS
+ FLAGS += -DDATA_DIR=\"${INSTALLDIR}\" -Wno-write-strings -DNETWORK -DTHREADS
+ OUTPUT = ../atanks
+ WFLAGS =
+ OFLAGS =
+ LFLAGS +=
+-LDFLAGS = `allegro-config --libs`
++LDFLAGS += `allegro-config --libs`
+
+-CFLAGS += -g -Wall -Iinclude # -fprofile-arcs -ftest-coverage
++CXXFLAGS += -g -Wall -Iinclude # -fprofile-arcs -ftest-coverage
+
+ SRCS = $(MODULES:.o=.cpp)
+ GLOBALS = main.h imagedefs.h externs.h
+@@ -33,79 +29,79 @@
+ $(MODULES): Makefile
+
+ atanks.o: atanks.cpp globals.h main.h menucontent.h
+- $(CPP) -c atanks.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c atanks.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ button.o: button.cpp button.h
+- $(CPP) -c button.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c button.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ client.o: client.h client.cpp
+- $(CPP) -c client.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGSS) $(CFLAGS)
++ $(CXX) -c client.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGSS) $(CXXFLAGS)
+
+ environment.o: environment.cpp environment.h
+- $(CPP) -c environment.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c environment.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ explosion.o: explosion.cpp explosion.h
+- $(CPP) -c explosion.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c explosion.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ files.o: files.cpp files.h text.h text.cpp
+- $(CPP) -c files.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c files.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ floattext.o: floattext.cpp floattext.h
+- $(CPP) -c floattext.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c floattext.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ globaldata.o: globaldata.cpp globaldata.h
+- $(CPP) -c globaldata.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c globaldata.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ land.o: land.cpp land.h globaldata.h environment.h
+- $(CPP) -c land.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c land.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ missile.o: missile.cpp missile.h
+- $(CPP) -c missile.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c missile.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ teleport.o: teleport.cpp teleport.h
+- $(CPP) -c teleport.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c teleport.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ physobj.o: physobj.cpp physobj.h
+- $(CPP) -c physobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c physobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ player.o: player.cpp player.h
+- $(CPP) -c player.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c player.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ tank.o: tank.cpp tank.h
+- $(CPP) -c tank.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c tank.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ team.o: team.cpp team.h
+- $(CPP) -c team.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c team.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ virtobj.o: virtobj.cpp virtobj.h
+- $(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 sky.h
+- $(CPP) -c sky.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c sky.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ satellite.o: satellite.cpp satellite.h
+- $(CPP) -c satellite.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c satellite.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
+
+ text.o: text.cpp text.h
+- $(CPP) -c text.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c text.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)
+
+ network.o: network.cpp network.h
+- $(CPP) -c network.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
++ $(CXX) -c network.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: