summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-01-11 22:26:02 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-01-11 22:26:02 +0000
commit815af71bf5aed0305a42b024c09fd17cc6a63d67 (patch)
treeafee63ed4eedc1a4054dd11c18b3df32cb108a40 /games-action
parentstable x86, bug #159634 (diff)
downloadgentoo-2-815af71bf5aed0305a42b024c09fd17cc6a63d67.tar.gz
gentoo-2-815af71bf5aed0305a42b024c09fd17cc6a63d67.tar.bz2
gentoo-2-815af71bf5aed0305a42b024c09fd17cc6a63d67.zip
Version bump
(Portage version: 2.1.2_rc4-r8)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/atanks/ChangeLog9
-rw-r--r--games-action/atanks/atanks-2.0.ebuild40
-rw-r--r--games-action/atanks/files/digest-atanks-2.03
3 files changed, 50 insertions, 2 deletions
diff --git a/games-action/atanks/ChangeLog b/games-action/atanks/ChangeLog
index 4c1b12cd8a39..06b2541d61ff 100644
--- a/games-action/atanks/ChangeLog
+++ b/games-action/atanks/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-action/atanks
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.19 2006/10/27 01:00:11 nyhm Exp $
+# 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 $
+
+*atanks-2.0 (11 Jan 2007)
+
+ 11 Jan 2007; Tristan Heaven <nyhm@gentoo.org> +atanks-2.0.ebuild:
+ Version bump
27 Oct 2006; Tristan Heaven <nyhm@gentoo.org> atanks-1.1.0.ebuild:
Remove unneeded allegttf dependency
diff --git a/games-action/atanks/atanks-2.0.ebuild b/games-action/atanks/atanks-2.0.ebuild
new file mode 100644
index 000000000000..b297fb5d1bfa
--- /dev/null
+++ b/games-action/atanks/atanks-2.0.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.0.ebuild,v 1.1 2007/01/11 22:26:02 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}-final.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.0 b/games-action/atanks/files/digest-atanks-2.0
new file mode 100644
index 000000000000..5ff18db007d1
--- /dev/null
+++ b/games-action/atanks/files/digest-atanks-2.0
@@ -0,0 +1,3 @@
+MD5 4406c7ea82c18dc7c978d04b0b5a3273 atanks-2.0-final.tar.gz 1545911
+RMD160 2031773a5ba9301ac9a4d0cfcef1881ce562f104 atanks-2.0-final.tar.gz 1545911
+SHA256 412e00acd88c194c9dac182608a0c88a566c612918c21b413b4b3f47e37eafbf atanks-2.0-final.tar.gz 1545911