ChangeLog

# ChangeLog for games-roguelike/wrogue
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/wrogue/ChangeLog,v 1.2 2007/07/02 13:54:02 nyhm Exp $

02 Jul 2007; Tristan Heaven wrogue-0.7.7b.ebuild:
add ~x86

*wrogue-0.7.7b (01 Jul 2007)

01 Jul 2007; Tupone Alfredo +metadata.xml,
+wrogue-0.7.7b.ebuild:
New package, requested with bug #161520 by Wojciech Myrda

Manifest

DIST wrogue-0.7.7b.tar.bz2 328556 RMD160 2b35cc382db95be4cccd02b1607917a4d65f9a37 SHA1 f43007ce3f034aae429a84cfc9e7be9be17bb0cc SHA256 07153d3c7c75278d5642685aabff66e8a72e07c5a4462e68827fc630828dac08
EBUILD wrogue-0.7.7b.ebuild 1146 RMD160 ad6b268e130943c23cc68f137d7953179ddbc3da SHA1 2d33e113a37fe18a7298caa9a6fd365332dc954f SHA256 235adb3ea68a4b2eafe5237ee47e49aafe0f68be06190ad49bb375cba18f11a4
MISC ChangeLog 478 RMD160 4684bfa3025910586f3580d86aa7e7743d957157 SHA1 2fe99367e4f2cf4aa8e414f81f00dd734771dd86 SHA256 bd55ce491b72beef17f8678c453cdc417b611ded4515d05d1a98c60126ab7b49
MISC metadata.xml 339 RMD160 b730fbc271a6a9ea51b001b0c15bfed1650745b1 SHA1 f16b979d99f0ffb47f3d2a2effc6a8f601b63c79 SHA256 a3f3dd4aaca302071afbd02f1a7905a883e2bb7aed4d1c96b0a23f31410f9810

metadata.xml




games

Warp Rogue is a gothic science fantasy roguelike game. It features RPG-like game
mechanics, recruitable NPCs, and a consistent theme.

wrogue-0.7.7b.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/wrogue/wrogue-0.7.7b.ebuild,v 1.2 2007/07/02 13:54:02 nyhm Exp $

inherit eutils games

DESCRIPTION="Gothic science fantasy roguelike game"
HOMEPAGE="http://todoom.sourceforge.net/"
SRC_URI="mirror://sourceforge/todoom/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="media-libs/libsdl"

src_unpack() {
unpack ${A}
cd "${S}"
sed -i -e "s:./data/:${GAMES_DATADIR}/${PN}/:" \
src/platform/unix/pl_unix.c || die "sed failed"
}

src_compile() {
local myCPPFLAGS="-std=c99 -I. -I./lib -I./ui -I./generate"
local myCFLAGS="`sdl-config --cflags` ${CFLAGS}"
emake -C src -f unix.mak MAKECMDGOALS=release STRIP_BINARY=NO \
CFLAGS="${myCPPFLAGS} ${myCFLAGS}" || die "emake failed"
}

src_install() {
dogamesbin ${PN} || die "dogamesbin failed"
insinto "${GAMES_DATADIR}/${PN}"
doins -r data/* || die "doins failed"
dodoc changes.txt sc_guide.txt

newicon data/engine/graphics/icon.bmp ${PN}.png
make_desktop_entry ${PN} "Warp Rogue"

prepgamesdirs
}