summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-11-11 14:59:55 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-11-11 14:59:55 +0000
commit24a004341824111b9b44d1e0eb3238d1984e994f (patch)
tree2b2d41fa52983c412610520c489f0cb21f7be1d8 /games-strategy
parentversion bump (diff)
downloadgentoo-2-24a004341824111b9b44d1e0eb3238d1984e994f.tar.gz
gentoo-2-24a004341824111b9b44d1e0eb3238d1984e994f.tar.bz2
gentoo-2-24a004341824111b9b44d1e0eb3238d1984e994f.zip
Version bump
(Portage version: 2.2_rc13/cvs/Linux 2.6.27.5 i686)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/warzone2100/ChangeLog7
-rw-r--r--games-strategy/warzone2100/warzone2100-2.1_rc1.ebuild62
2 files changed, 68 insertions, 1 deletions
diff --git a/games-strategy/warzone2100/ChangeLog b/games-strategy/warzone2100/ChangeLog
index c1bef035a28c..e3d38d6b4854 100644
--- a/games-strategy/warzone2100/ChangeLog
+++ b/games-strategy/warzone2100/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-strategy/warzone2100
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.22 2008/10/05 17:36:56 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/ChangeLog,v 1.23 2008/11/11 14:59:55 nyhm Exp $
+
+*warzone2100-2.1_rc1 (11 Nov 2008)
+
+ 11 Nov 2008; Tristan Heaven <nyhm@gentoo.org> +warzone2100-2.1_rc1.ebuild:
+ Version bump
*warzone2100-2.1_beta5 (05 Oct 2008)
diff --git a/games-strategy/warzone2100/warzone2100-2.1_rc1.ebuild b/games-strategy/warzone2100/warzone2100-2.1_rc1.ebuild
new file mode 100644
index 000000000000..7d01439817d4
--- /dev/null
+++ b/games-strategy/warzone2100/warzone2100-2.1_rc1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/warzone2100-2.1_rc1.ebuild,v 1.1 2008/11/11 14:59:55 nyhm Exp $
+
+inherit autotools 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 CCPL-Attribution-ShareAlike-3.0 public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+# upstream requested debug support
+IUSE="debug nls"
+
+RDEPEND="dev-games/physfs
+ dev-libs/popt
+ media-libs/jpeg
+ media-libs/libogg
+ media-libs/libpng
+ media-libs/libsdl
+ media-libs/libvorbis
+ media-libs/openal
+ media-libs/sdl-net
+ media-libs/quesoglc
+ virtual/glu
+ virtual/opengl
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ app-arch/zip
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )"
+RDEPEND="${RDEPEND}
+ media-fonts/dejavu"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ eautoreconf
+}
+
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --docdir=/usr/share/doc/${PF} \
+ --localedir=/usr/share/locale \
+ --with-distributor="Gentoo ${PF}" \
+ --with-icondir=/usr/share/pixmaps \
+ --with-applicationdir=/usr/share/applications \
+ $(use_enable debug) \
+ $(use_enable nls) \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ rm -f "${D}"/usr/share/doc/${PF}/COPYING*
+ prepgamesdirs
+}