summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-roguelike/scourge')
-rw-r--r--games-roguelike/scourge/ChangeLog7
-rw-r--r--games-roguelike/scourge/files/digest-scourge-0.186
-rw-r--r--games-roguelike/scourge/scourge-0.18.ebuild66
3 files changed, 78 insertions, 1 deletions
diff --git a/games-roguelike/scourge/ChangeLog b/games-roguelike/scourge/ChangeLog
index 922bb94fd8d1..82e171f4d0ce 100644
--- a/games-roguelike/scourge/ChangeLog
+++ b/games-roguelike/scourge/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-roguelike/scourge
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/scourge/ChangeLog,v 1.25 2007/06/01 01:23:40 nyhm Exp $
+
+*scourge-0.18 (01 Jun 2007)
+
+ 01 Jun 2007; Tristan Heaven <nyhm@gentoo.org> +scourge-0.18.ebuild:
+ Version bump, bug #177204
*scourge-0.17 (15 Jan 2007)
diff --git a/games-roguelike/scourge/files/digest-scourge-0.18 b/games-roguelike/scourge/files/digest-scourge-0.18
new file mode 100644
index 000000000000..133cb56945d3
--- /dev/null
+++ b/games-roguelike/scourge/files/digest-scourge-0.18
@@ -0,0 +1,6 @@
+MD5 4cf63b226b19af92f659ecaf25fe4616 scourge-0.18.data.tar.gz 79186848
+RMD160 449900de6c680d5e6350bd28f231ccffeb044110 scourge-0.18.data.tar.gz 79186848
+SHA256 95a6c165576e4968b919afc2cd6c1663271c5de749d517e23c920db192308410 scourge-0.18.data.tar.gz 79186848
+MD5 57fa2011e360f36c4ebe6e00ae118b06 scourge-0.18.src.tar.gz 2214731
+RMD160 8390f6bd863e9fa77c4c83a27d051110abdf70c3 scourge-0.18.src.tar.gz 2214731
+SHA256 d6d43ac46de57d6854a70322d42b3593b22880e81005cc6ec316674c3f128015 scourge-0.18.src.tar.gz 2214731
diff --git a/games-roguelike/scourge/scourge-0.18.ebuild b/games-roguelike/scourge/scourge-0.18.ebuild
new file mode 100644
index 000000000000..db053ad05a1d
--- /dev/null
+++ b/games-roguelike/scourge/scourge-0.18.ebuild
@@ -0,0 +1,66 @@
+# 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.18.ebuild,v 1.1 2007/06/01 01:23:40 nyhm Exp $
+
+inherit autotools 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"
+
+RDEPEND="virtual/glu
+ virtual/opengl
+ >=media-libs/freetype-2
+ media-libs/libsdl
+ media-libs/sdl-net
+ media-libs/sdl-mixer
+ virtual/libintl
+ editor? ( >=x11-libs/wxGTK-2.6 )"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ games_pkg_setup
+ use editor && WX_GTK_VER="2.6" need-wxwidgets gtk2
+}
+
+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.in || die "sed failed"
+ fi
+ eautoreconf
+}
+
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --with-data-dir="${GAMES_DATADIR}"/${PN} \
+ --localedir=/usr/share/locale \
+ $(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
+}