summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-01-15 18:17:30 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-01-15 18:17:30 +0000
commit594a072dd9dd4e11f65bab5a69fcbadf2220e47f (patch)
tree7f9b13c3ddcbe31109f5cac0b1f4fc45baae6196 /games-roguelike/scourge
parentStable on Alpha, bug 157421. (diff)
downloadgentoo-2-594a072dd9dd4e11f65bab5a69fcbadf2220e47f.tar.gz
gentoo-2-594a072dd9dd4e11f65bab5a69fcbadf2220e47f.tar.bz2
gentoo-2-594a072dd9dd4e11f65bab5a69fcbadf2220e47f.zip
Version bump
(Portage version: 2.1.2)
Diffstat (limited to 'games-roguelike/scourge')
-rw-r--r--games-roguelike/scourge/ChangeLog9
-rw-r--r--games-roguelike/scourge/files/digest-scourge-0.176
-rw-r--r--games-roguelike/scourge/scourge-0.17.ebuild63
3 files changed, 76 insertions, 2 deletions
diff --git a/games-roguelike/scourge/ChangeLog b/games-roguelike/scourge/ChangeLog
index 194d98b86b22..922bb94fd8d1 100644
--- a/games-roguelike/scourge/ChangeLog
+++ b/games-roguelike/scourge/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-roguelike/scourge
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/scourge/ChangeLog,v 1.23 2006/12/11 23:54:43 nyhm Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/scourge/ChangeLog,v 1.24 2007/01/15 18:17:30 nyhm Exp $
+
+*scourge-0.17 (15 Jan 2007)
+
+ 15 Jan 2007; Tristan Heaven <nyhm@gentoo.org> +scourge-0.17.ebuild:
+ Version bump
*scourge-0.16 (13 Nov 2006)
diff --git a/games-roguelike/scourge/files/digest-scourge-0.17 b/games-roguelike/scourge/files/digest-scourge-0.17
new file mode 100644
index 000000000000..c99f3bbae8b6
--- /dev/null
+++ b/games-roguelike/scourge/files/digest-scourge-0.17
@@ -0,0 +1,6 @@
+MD5 0aeb7b07dbddbeeaa5711b5a69e3e696 scourge-0.17.data.tar.gz 77257508
+RMD160 d345bd37ae9f85f8890b9b420ab884b74d4b2761 scourge-0.17.data.tar.gz 77257508
+SHA256 8a4edcba61e28d60344cb66105f670a7e5f7a231a765bca419b6390f7c052980 scourge-0.17.data.tar.gz 77257508
+MD5 1d932005010bd1cee2fe1d07883bfd65 scourge-0.17.src.tar.gz 1141012
+RMD160 5cc649148ac5693f4fd3aeb16f27dcb45fca209e scourge-0.17.src.tar.gz 1141012
+SHA256 0094fb3aa0d0d3e4de0c643705d8a0df2a7ebb6102e064f588ba78cd9e17164c scourge-0.17.src.tar.gz 1141012
diff --git a/games-roguelike/scourge/scourge-0.17.ebuild b/games-roguelike/scourge/scourge-0.17.ebuild
new file mode 100644
index 000000000000..6119b10a50a8
--- /dev/null
+++ b/games-roguelike/scourge/scourge-0.17.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/scourge/scourge-0.17.ebuild,v 1.1 2007/01/15 18:17:30 nyhm Exp $
+
+inherit eutils wxwidgets games
+
+DESCRIPTION="A graphical rogue-like adventure game"
+HOMEPAGE="http://scourge.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.src.tar.gz
+ mirror://sourceforge/${PN}/${P}.data.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="editor"
+
+DEPEND="x11-libs/libXmu
+ x11-libs/libXi
+ virtual/glu
+ virtual/opengl
+ >=media-libs/freetype-2
+ media-libs/libsdl
+ media-libs/sdl-net
+ media-libs/sdl-mixer
+ editor? ( >=x11-libs/wxGTK-2.6 )"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ games_pkg_setup
+ use editor && WX_GTK_VER="2.6" need-wxwidgets unicode
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ if use editor ; then
+ sed -i \
+ -e "/WXWIDGET_CFLAGS/s:wx-config:${WX_CONFIG}:" \
+ -e "/WXWIDGET_LIBS/s:wx-config:${WX_CONFIG}:" \
+ configure || die "sed failed"
+ fi
+}
+
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --with-data-dir="${GAMES_DATADIR}"/${PN} \
+ $(use_enable editor) \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ use editor && mv "${D}/${GAMES_BINDIR}"/{tools,${PN}-tools}
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r ../scourge_data/* || die "doins failed"
+ doicon assets/scourge.png
+ make_desktop_entry scourge S.C.O.U.R.G.E.
+ dodoc AUTHORS README
+ prepgamesdirs
+}