diff options
Diffstat (limited to 'games-roguelike/scourge')
-rw-r--r-- | games-roguelike/scourge/ChangeLog | 7 | ||||
-rw-r--r-- | games-roguelike/scourge/files/digest-scourge-0.19 | 6 | ||||
-rw-r--r-- | games-roguelike/scourge/scourge-0.19.ebuild | 66 |
3 files changed, 78 insertions, 1 deletions
diff --git a/games-roguelike/scourge/ChangeLog b/games-roguelike/scourge/ChangeLog index 47ae7a109461..2c52935962cb 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.27 2007/09/28 23:49:52 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/scourge/ChangeLog,v 1.28 2007/10/05 17:56:09 mr_bones_ Exp $ + +*scourge-0.19 (05 Oct 2007) + + 05 Oct 2007; Michael Sterrett <mr_bones_@gentoo.org> +scourge-0.19.ebuild: + version bump 28 Sep 2007; Ryan Hill <dirtyepic@gentoo.org> scourge-0.18.ebuild: Lock wxGTK to 2.6. diff --git a/games-roguelike/scourge/files/digest-scourge-0.19 b/games-roguelike/scourge/files/digest-scourge-0.19 new file mode 100644 index 000000000000..e039eeecbe3c --- /dev/null +++ b/games-roguelike/scourge/files/digest-scourge-0.19 @@ -0,0 +1,6 @@ +MD5 fb0b18654f4e00a5bee3be25bf1a9c7f scourge-0.19.data.tar.gz 98348023 +RMD160 f954aa5d441a58bffece9a3c335429f2b9bc1d4d scourge-0.19.data.tar.gz 98348023 +SHA256 c65016a80c8ec3b79f54551edb96e2bf0cdba156577058d0c38ca923575ac548 scourge-0.19.data.tar.gz 98348023 +MD5 03126a6e8edeecb8fb53165570921834 scourge-0.19.src.tar.gz 5049892 +RMD160 a3711d8fabb290739cd219c49555a966ff439d0c scourge-0.19.src.tar.gz 5049892 +SHA256 8820484f20d4c6edf524986e52628a7a3442ac9d1acdda3ae1b6819a3cbbd2df scourge-0.19.src.tar.gz 5049892 diff --git a/games-roguelike/scourge/scourge-0.19.ebuild b/games-roguelike/scourge/scourge-0.19.ebuild new file mode 100644 index 000000000000..bde61f0bffb5 --- /dev/null +++ b/games-roguelike/scourge/scourge-0.19.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.19.ebuild,v 1.1 2007/10/05 17:56:09 mr_bones_ 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 +} |