summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-06-24 23:12:15 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-06-24 23:12:15 +0000
commitba34d3a090f944534d334c211e80a3c2afb7ce97 (patch)
tree594a1e9bf94b7f5846a2ea43eeb282171da2d26d /games-strategy/warzone2100
parents390 stable #173623 (diff)
downloadgentoo-2-ba34d3a090f944534d334c211e80a3c2afb7ce97.tar.gz
gentoo-2-ba34d3a090f944534d334c211e80a3c2afb7ce97.tar.bz2
gentoo-2-ba34d3a090f944534d334c211e80a3c2afb7ce97.zip
Version bump, bug #182967
(Portage version: 2.1.3_rc5)
Diffstat (limited to 'games-strategy/warzone2100')
-rw-r--r--games-strategy/warzone2100/ChangeLog7
-rw-r--r--games-strategy/warzone2100/files/digest-warzone2100-2.0.73
-rw-r--r--games-strategy/warzone2100/warzone2100-2.0.7.ebuild57
3 files changed, 66 insertions, 1 deletions
diff --git a/games-strategy/warzone2100/ChangeLog b/games-strategy/warzone2100/ChangeLog
index e3e0340a1808..69250055a0b0 100644
--- a/games-strategy/warzone2100/ChangeLog
+++ b/games-strategy/warzone2100/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-strategy/warzone2100
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.14 2007/04/06 21:45:05 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.15 2007/06/24 23:12:15 nyhm Exp $
+
+*warzone2100-2.0.7 (24 Jun 2007)
+
+ 24 Jun 2007; Tristan Heaven <nyhm@gentoo.org> +warzone2100-2.0.7.ebuild:
+ Version bump, bug #182967
*warzone2100-2.0.6 (06 Apr 2007)
diff --git a/games-strategy/warzone2100/files/digest-warzone2100-2.0.7 b/games-strategy/warzone2100/files/digest-warzone2100-2.0.7
new file mode 100644
index 000000000000..56c2425ba503
--- /dev/null
+++ b/games-strategy/warzone2100/files/digest-warzone2100-2.0.7
@@ -0,0 +1,3 @@
+MD5 983ccc67cfd5df3185c6836c62ea722f warzone2100-2.0.7.tar.bz2 19622856
+RMD160 a8d483666ab6621b4b3fd8dd97fc4e95a9d9c56b warzone2100-2.0.7.tar.bz2 19622856
+SHA256 e6ae2b3584c6f189687cbfc77a34397e8210cbceab83711155c36594e9b0faca warzone2100-2.0.7.tar.bz2 19622856
diff --git a/games-strategy/warzone2100/warzone2100-2.0.7.ebuild b/games-strategy/warzone2100/warzone2100-2.0.7.ebuild
new file mode 100644
index 000000000000..4f1de3220263
--- /dev/null
+++ b/games-strategy/warzone2100/warzone2100-2.0.7.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/warzone2100-2.0.7.ebuild,v 1.1 2007/06/24 23:12:15 nyhm Exp $
+
+inherit eutils versionator games
+
+MY_PV=$(get_version_component_range -2)
+DESCRIPTION="3D real-time strategy game"
+HOMEPAGE="http://wz2100.net/"
+SRC_URI="http://download.gna.org/warzone/releases/${MY_PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+# upstream requested debug support
+IUSE="debug mp3"
+
+RDEPEND="dev-games/physfs
+ media-libs/jpeg
+ media-libs/libogg
+ media-libs/libpng
+ media-libs/libsdl
+ media-libs/libvorbis
+ >=media-libs/openal-0.0.8-r1
+ media-libs/sdl-net
+ virtual/glu
+ virtual/opengl
+ mp3? ( media-libs/libmad )"
+DEPEND="${RDEPEND}
+ app-arch/zip"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i '/^dist_doc_DATA/s:COPYING.*$:TODO:' Makefile.in || die "sed failed"
+}
+
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --docdir=/usr/share/doc/${PF} \
+ --with-icondir=/usr/share/pixmaps \
+ --with-applicationdir=/usr/share/applications \
+ --with-ogg=/usr \
+ --with-vorbis=/usr \
+ --enable-ogg \
+ $(use_enable mp3) \
+ $(use_enable debug) \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ prepalldocs
+ prepgamesdirs
+}