# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games eutils DESCRIPTION="A Roguelike designed for the Gameboy Advance and Nintendo DS." HOMEPAGE="http://www.zincland.com/powder/" SRC_URI="http://www.zincland.com/powder/release/${PN}${PV}_src.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="x86" IUSE="" RDEPEND="media-libs/libsdl" S="${WORKDIR}/${PN}${PV}_src" src_compile() { cd ${S} einfo "building support files" cd support/bmp2c emake || die cd ../encyclopedia2c emake || die cd ../enummaker emake || die cd ../map2c emake || die cd ../txt2c emake || die cd ../tile2c emake || die cd ../../port/linux emake premake || die emake || die } src_install() { cd ${S} ls -la dogamesbin port/linux/powder prepgamesdirs } pkg_postinst() { games_pkg_postinst einfo "remember that powder creates savefile in a directory you run it from" }