summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-roguelike/scourge')
-rw-r--r--games-roguelike/scourge/ChangeLog8
-rw-r--r--games-roguelike/scourge/files/digest-scourge-0.166
-rw-r--r--games-roguelike/scourge/scourge-0.16.ebuild62
3 files changed, 75 insertions, 1 deletions
diff --git a/games-roguelike/scourge/ChangeLog b/games-roguelike/scourge/ChangeLog
index d9ef55c9b046..ae246f7610c5 100644
--- a/games-roguelike/scourge/ChangeLog
+++ b/games-roguelike/scourge/ChangeLog
@@ -1,6 +1,12 @@
# 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.20 2006/09/29 18:15:03 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/scourge/ChangeLog,v 1.21 2006/11/13 09:44:03 nyhm Exp $
+
+*scourge-0.16 (13 Nov 2006)
+
+ 13 Nov 2006; Tristan Heaven <nyhm@gentoo.org> -scourge-0.14.ebuild,
+ +scourge-0.16.ebuild:
+ Version bump
*scourge-0.15 (29 Sep 2006)
diff --git a/games-roguelike/scourge/files/digest-scourge-0.16 b/games-roguelike/scourge/files/digest-scourge-0.16
new file mode 100644
index 000000000000..1bc3b42a5cf4
--- /dev/null
+++ b/games-roguelike/scourge/files/digest-scourge-0.16
@@ -0,0 +1,6 @@
+MD5 123888b1465f4c6e9a9f4b4b58cbca26 scourge-0.16.data.tar.gz 72744222
+RMD160 a674da27924ca0973f9b9bf838ec3fbab758a547 scourge-0.16.data.tar.gz 72744222
+SHA256 5a988311516ab59538a5530da599ed6dd0c9caab118e3fd2bfddb6e01aea6146 scourge-0.16.data.tar.gz 72744222
+MD5 02025e62a7261d39d3bac2d3351088b3 scourge-0.16.src.tar.gz 1092855
+RMD160 2ff6cecf3f611c73b2905e6946b4467b869428e5 scourge-0.16.src.tar.gz 1092855
+SHA256 ea10537a030e216fe473fdc1337de18f48ef27bae19f3376c22f2d0dc0c97656 scourge-0.16.src.tar.gz 1092855
diff --git a/games-roguelike/scourge/scourge-0.16.ebuild b/games-roguelike/scourge/scourge-0.16.ebuild
new file mode 100644
index 000000000000..e2855f4d6f95
--- /dev/null
+++ b/games-roguelike/scourge/scourge-0.16.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/scourge/scourge-0.16.ebuild,v 1.1 2006/11/13 09:44:03 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-1.2
+ 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 \
+ --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
+}