summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-12-30 01:38:13 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-12-30 01:38:13 +0000
commit54efbdf80a948158c1258e96dc84ead4e204b6a6 (patch)
tree43e2be9661de9a957ec9815fee5436ee7b39d9bf /games-strategy/warzone2100
parentInitial import from the science overlay. (diff)
downloadgentoo-2-54efbdf80a948158c1258e96dc84ead4e204b6a6.tar.gz
gentoo-2-54efbdf80a948158c1258e96dc84ead4e204b6a6.tar.bz2
gentoo-2-54efbdf80a948158c1258e96dc84ead4e204b6a6.zip
Version bump
(Portage version: 2.1.4_rc11)
Diffstat (limited to 'games-strategy/warzone2100')
-rw-r--r--games-strategy/warzone2100/ChangeLog7
-rw-r--r--games-strategy/warzone2100/files/digest-warzone2100-2.0.103
-rw-r--r--games-strategy/warzone2100/warzone2100-2.0.10.ebuild58
3 files changed, 67 insertions, 1 deletions
diff --git a/games-strategy/warzone2100/ChangeLog b/games-strategy/warzone2100/ChangeLog
index 98f181be7e04..1e0bb843e331 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.17 2007/12/04 19:07:11 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.18 2007/12/30 01:38:12 nyhm Exp $
+
+*warzone2100-2.0.10 (30 Dec 2007)
+
+ 30 Dec 2007; Tristan Heaven <nyhm@gentoo.org> +warzone2100-2.0.10.ebuild:
+ Version bump
*warzone2100-2.0.9 (04 Dec 2007)
diff --git a/games-strategy/warzone2100/files/digest-warzone2100-2.0.10 b/games-strategy/warzone2100/files/digest-warzone2100-2.0.10
new file mode 100644
index 000000000000..06260e0aa3c5
--- /dev/null
+++ b/games-strategy/warzone2100/files/digest-warzone2100-2.0.10
@@ -0,0 +1,3 @@
+MD5 d27b89fde2c8017020756441bdd2a67b warzone2100-2.0.10.tar.bz2 13304863
+RMD160 cf3d6af9d6162ddf39057b95bff6cf682eea94d0 warzone2100-2.0.10.tar.bz2 13304863
+SHA256 a70d53173b49d31ab8b730a82d2b0127a9fb23eb6da1cdc6e38c8dbfecaa207a warzone2100-2.0.10.tar.bz2 13304863
diff --git a/games-strategy/warzone2100/warzone2100-2.0.10.ebuild b/games-strategy/warzone2100/warzone2100-2.0.10.ebuild
new file mode 100644
index 000000000000..7d8fa6351ecc
--- /dev/null
+++ b/games-strategy/warzone2100/warzone2100-2.0.10.ebuild
@@ -0,0 +1,58 @@
+# 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.10.ebuild,v 1.1 2007/12/30 01:38:12 nyhm Exp $
+
+inherit 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-distributor="Gentoo ${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
+}