summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-06-29 02:29:24 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-06-29 02:29:24 +0000
commit1b90deec6af2ca0165f375cc92fdaddcd4206264 (patch)
tree7b5629bbe92e73ca563458cafdc48b6056205e48 /games-action
parentarm/sh love (diff)
downloadgentoo-2-1b90deec6af2ca0165f375cc92fdaddcd4206264.tar.gz
gentoo-2-1b90deec6af2ca0165f375cc92fdaddcd4206264.tar.bz2
gentoo-2-1b90deec6af2ca0165f375cc92fdaddcd4206264.zip
Version bump
(Portage version: 2.1.3_rc5)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/atanks/ChangeLog7
-rw-r--r--games-action/atanks/atanks-2.4.ebuild40
-rw-r--r--games-action/atanks/files/digest-atanks-2.43
3 files changed, 49 insertions, 1 deletions
diff --git a/games-action/atanks/ChangeLog b/games-action/atanks/ChangeLog
index 08782707396e..892c917c00ae 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.23 2007/04/08 04:22:09 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.24 2007/06/29 02:29:24 nyhm Exp $
+
+*atanks-2.4 (29 Jun 2007)
+
+ 29 Jun 2007; Tristan Heaven <nyhm@gentoo.org> +atanks-2.4.ebuild:
+ Version bump
*atanks-2.3 (08 Apr 2007)
diff --git a/games-action/atanks/atanks-2.4.ebuild b/games-action/atanks/atanks-2.4.ebuild
new file mode 100644
index 000000000000..e8083528eed5
--- /dev/null
+++ b/games-action/atanks/atanks-2.4.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.4.ebuild,v 1.1 2007/06/29 02:29:24 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.4 b/games-action/atanks/files/digest-atanks-2.4
new file mode 100644
index 000000000000..fbaa6781542f
--- /dev/null
+++ b/games-action/atanks/files/digest-atanks-2.4
@@ -0,0 +1,3 @@
+MD5 c949306b0ad5ff7a006d932261c7e86e atanks-2.4.tar.gz 1341738
+RMD160 040f2428730f398689bbfde2d1654b254d313589 atanks-2.4.tar.gz 1341738
+SHA256 225ec1b98d69e4cf97156a378949b58fbb9bccfbabb25223fe96260efbd6fe67 atanks-2.4.tar.gz 1341738