summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-08-27 02:27:01 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-08-27 02:27:01 +0000
commitd3a2b80af4ad1e29fd9777ff8829d00260fd2e79 (patch)
tree35745c0ec03b5f21afbd5a66fcbfb71b44a97244 /games-strategy/warzone2100
parentMarking pcsc-lite-1.3.1-r1 ppc64 stable wrt bug #145145 (diff)
downloadgentoo-2-d3a2b80af4ad1e29fd9777ff8829d00260fd2e79.tar.gz
gentoo-2-d3a2b80af4ad1e29fd9777ff8829d00260fd2e79.tar.bz2
gentoo-2-d3a2b80af4ad1e29fd9777ff8829d00260fd2e79.zip
version bump - bug #144511 (Ebuild submitted by Tristan Heaven)
(Portage version: 2.1.1_rc1)
Diffstat (limited to 'games-strategy/warzone2100')
-rw-r--r--games-strategy/warzone2100/ChangeLog8
-rw-r--r--games-strategy/warzone2100/files/digest-warzone2100-2.0.43
-rw-r--r--games-strategy/warzone2100/warzone2100-2.0.4.ebuild63
3 files changed, 73 insertions, 1 deletions
diff --git a/games-strategy/warzone2100/ChangeLog b/games-strategy/warzone2100/ChangeLog
index 3caf87e4b826..af1dea46eaf8 100644
--- a/games-strategy/warzone2100/ChangeLog
+++ b/games-strategy/warzone2100/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/warzone2100
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.9 2006/08/11 20:38:22 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.10 2006/08/27 02:27:01 mr_bones_ Exp $
+
+*warzone2100-2.0.4 (27 Aug 2006)
+
+ 27 Aug 2006; Michael Sterrett <mr_bones_@gentoo.org>
+ +warzone2100-2.0.4.ebuild:
+ version bump - bug #144511 (Ebuild submitted by Tristan Heaven)
11 Aug 2006; Chris Gianelloni <wolf31o2@gentoo.org>
warzone2100-2.0.3.ebuild:
diff --git a/games-strategy/warzone2100/files/digest-warzone2100-2.0.4 b/games-strategy/warzone2100/files/digest-warzone2100-2.0.4
new file mode 100644
index 000000000000..90077a2c9edf
--- /dev/null
+++ b/games-strategy/warzone2100/files/digest-warzone2100-2.0.4
@@ -0,0 +1,3 @@
+MD5 84e92061d9a00405994ab7496d03a610 warzone2100-2.0.4.tar.bz2 19883711
+RMD160 fe13351a0ba4f8ea9bf83b8390976f8cce3cbcf4 warzone2100-2.0.4.tar.bz2 19883711
+SHA256 06ce1d72ec1c3ffceed8f5aae77b96442469abe3096caebc5ce43b1178aee9b5 warzone2100-2.0.4.tar.bz2 19883711
diff --git a/games-strategy/warzone2100/warzone2100-2.0.4.ebuild b/games-strategy/warzone2100/warzone2100-2.0.4.ebuild
new file mode 100644
index 000000000000..fa0456f30135
--- /dev/null
+++ b/games-strategy/warzone2100/warzone2100-2.0.4.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/warzone2100-2.0.4.ebuild,v 1.1 2006/08/27 02:27:01 mr_bones_ Exp $
+
+inherit debug eutils versionator games
+
+MY_PV=$(get_version_component_range -2)
+DESCRIPTION="3D real-time strategy game"
+HOMEPAGE="http://wz.rootzilla.de/"
+SRC_URI="http://download.gna.org/warzone/releases/${MY_PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+# upstream requested debug support
+IUSE="debug mp3"
+
+RDEPEND="dev-games/physfs
+ mp3? ( >=media-libs/libmad-0.15 )
+ media-libs/jpeg
+ media-libs/libogg
+ media-libs/libpng
+ media-libs/libsdl
+ media-libs/libvorbis
+ media-libs/openal
+ media-libs/sdl-net
+ virtual/glu
+ virtual/opengl"
+DEPEND="${RDEPEND}
+ app-arch/zip"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i \
+ -e '/FilePattern/d' \
+ -e "s/warzone$/${PN}/" \
+ debian/${PN}.desktop || die "sed failed"
+}
+
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --with-ogg=/usr \
+ --with-vorbis=/usr \
+ --enable-ogg \
+ $(use_enable mp3) \
+ $(use_enable debug) \
+ || die "egamesconf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ doicon debian/${PN}.png
+ domenu debian/${PN}.desktop
+
+ dodoc AUTHORS ChangeLog README TODO
+ prepgamesdirs
+}