summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-02-13 01:19:58 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-02-13 01:19:58 +0000
commit63cb0f439a367114ab93dc479c28381fd314a0be (patch)
tree56ae1286ebab85aebf9ae588a2121edb2ef55971 /games-action
parentMarked ppc stable. (diff)
downloadgentoo-2-63cb0f439a367114ab93dc479c28381fd314a0be.tar.gz
gentoo-2-63cb0f439a367114ab93dc479c28381fd314a0be.tar.bz2
gentoo-2-63cb0f439a367114ab93dc479c28381fd314a0be.zip
Version bump
(Portage version: 2.1.2-r9)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/atanks/ChangeLog7
-rw-r--r--games-action/atanks/atanks-2.1.ebuild40
-rw-r--r--games-action/atanks/files/digest-atanks-2.13
3 files changed, 49 insertions, 1 deletions
diff --git a/games-action/atanks/ChangeLog b/games-action/atanks/ChangeLog
index 06b2541d61ff..3cad83e3961e 100644
--- a/games-action/atanks/ChangeLog
+++ b/games-action/atanks/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-action/atanks
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.20 2007/01/11 22:26:02 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.21 2007/02/13 01:19:58 nyhm Exp $
+
+*atanks-2.1 (13 Feb 2007)
+
+ 13 Feb 2007; Tristan Heaven <nyhm@gentoo.org> +atanks-2.1.ebuild:
+ Version bump
*atanks-2.0 (11 Jan 2007)
diff --git a/games-action/atanks/atanks-2.1.ebuild b/games-action/atanks/atanks-2.1.ebuild
new file mode 100644
index 000000000000..48031961b9cc
--- /dev/null
+++ b/games-action/atanks/atanks-2.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/atanks-2.1.ebuild,v 1.1 2007/02/13 01:19:58 nyhm Exp $
+
+inherit eutils toolchain-funcs games
+
+DESCRIPTION="Worms and Scorched Earth-like game"
+HOMEPAGE="http://atanks.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="media-libs/allegro"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "/^CC/s:g++:$(tc-getCXX):" \
+ -e '/^CFLAGS/s:-g::' \
+ -e 's:CFLAGS:CXXFLAGS:' \
+ -e '/^LDFLAGS/s:=:+=:' \
+ -e "s:DATA_DIR=.*:DATA_DIR=\\\\\"${GAMES_DATADIR}/${PN}\\\\\":" \
+ src/Makefile \
+ || die "sed failed"
+ emake clean
+}
+
+src_install() {
+ dogamesbin ${PN} || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins *.dat *.txt || die "doins failed"
+ dodoc BUGS Changelog README TODO
+ prepgamesdirs
+}
diff --git a/games-action/atanks/files/digest-atanks-2.1 b/games-action/atanks/files/digest-atanks-2.1
new file mode 100644
index 000000000000..8be56f63de53
--- /dev/null
+++ b/games-action/atanks/files/digest-atanks-2.1
@@ -0,0 +1,3 @@
+MD5 4524ce247f2c3ad6b393c21e1720550f atanks-2.1.tar.gz 1553570
+RMD160 915fcfd0c702e4ecaabf585bfc255744edf98755 atanks-2.1.tar.gz 1553570
+SHA256 dd4ecab4333d7702b9d170cbfa9dbc8a0112d6c3f08729a63b00136319c0880b atanks-2.1.tar.gz 1553570