diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-26 02:40:14 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-26 02:40:14 +0000 |
commit | 542909efcf7a31579011bbfdce0e830eea82f8b6 (patch) | |
tree | a54bf4d5ffa32e980b57f3f60170fe27acc06b5c /games-emulation/fakenes/fakenes-0.3.0.ebuild | |
parent | Version bump (diff) | |
download | gentoo-2-542909efcf7a31579011bbfdce0e830eea82f8b6.tar.gz gentoo-2-542909efcf7a31579011bbfdce0e830eea82f8b6.tar.bz2 gentoo-2-542909efcf7a31579011bbfdce0e830eea82f8b6.zip |
version bump
Diffstat (limited to 'games-emulation/fakenes/fakenes-0.3.0.ebuild')
-rw-r--r-- | games-emulation/fakenes/fakenes-0.3.0.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/games-emulation/fakenes/fakenes-0.3.0.ebuild b/games-emulation/fakenes/fakenes-0.3.0.ebuild new file mode 100644 index 000000000000..fb29af1a0c44 --- /dev/null +++ b/games-emulation/fakenes/fakenes-0.3.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/fakenes/fakenes-0.3.0.ebuild,v 1.1 2003/09/26 02:40:14 vapier Exp $ + +inherit games eutils + +DESCRIPTION="portable, Open Source NES emulator which is written mostly in C" +HOMEPAGE="http://fakenes.sourceforge.net/" +SRC_URI="mirror://sourceforge/fakenes/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="zlib fbcon svgalib" + +DEPEND=">=media-libs/allegro-4.1 + zlib? ( sys-libs/zlib ) + dev-games/hawknl + x86? ( dev-lang/nasm )" + +src_unpack() { + unpack ${A} + cd ${S} + chmod a+x configure + epatch ${FILESDIR}/${PV}-allegro.patch + [ ! `use fbcon` ] && sed -i '/sedfbme/s:.*::' src/gui.c src/include/gui/menus.h + [ ! `use svgalib` ] && sed -i '/sedsvgalibme/s:.*::' src/gui.c src/include/gui/menus.h +} + +src_compile() { + egamesconf `use_with zlib` || die + emake || die +} + +src_install() { + dogamesbin src/fakenes + insinto ${GAMES_DATADIR}/${PN} + doins src/support/fakenes.{dat,ico,rc} + dodoc CHANGES README SOURCE SUPPORT + prepgamesdirs +} |