diff options
Diffstat (limited to 'games-emulation/fbzx/fbzx-1.5.ebuild')
-rw-r--r-- | games-emulation/fbzx/fbzx-1.5.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/games-emulation/fbzx/fbzx-1.5.ebuild b/games-emulation/fbzx/fbzx-1.5.ebuild new file mode 100644 index 000000000000..b6551a6f12bd --- /dev/null +++ b/games-emulation/fbzx/fbzx-1.5.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/fbzx/fbzx-1.5.ebuild,v 1.1 2005/04/29 16:09:36 dholm Exp $ + +inherit games eutils gcc + +DESCRIPTION="A Sinclair Spectrum emulator, designed to work at full screen using the FrameBuffer" +HOMEPAGE="http://www.rastersoft.com/fbzx.html" +SRC_URI="http://www.rastersoft.com/descargas/${PN}15.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" + +RDEPEND="media-libs/libsdl" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i \ + -e "s|/usr/share/spectrum|${GAMES_DATADIR}/${PN}|g" \ + emulator.c || die "sed failed" + sed -i \ + -e "s:gcc:$(gcc-getCC):" \ + -e "s:-O2:${CFLAGS}:" \ + Makefile +} + +src_install() { + dogamesbin fbzx || die "dogamesbin failed" + insinto "${GAMES_DATADIR}/${PN}/roms" + doins roms/* || die "doins failed" + dodoc CAPABILITIES FAQ INSTALL PORTS README* TODO VERSIONS + prepgamesdirs +} |