summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-emulation/fbzx/ChangeLog7
-rw-r--r--games-emulation/fbzx/fbzx-1.8.ebuild38
-rw-r--r--games-emulation/fbzx/files/digest-fbzx-1.83
3 files changed, 47 insertions, 1 deletions
diff --git a/games-emulation/fbzx/ChangeLog b/games-emulation/fbzx/ChangeLog
index cc141b4010e1..11068e1eb094 100644
--- a/games-emulation/fbzx/ChangeLog
+++ b/games-emulation/fbzx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-emulation/fbzx
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/fbzx/ChangeLog,v 1.13 2007/02/21 23:20:15 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fbzx/ChangeLog,v 1.14 2007/04/12 06:53:34 mr_bones_ Exp $
+
+*fbzx-1.8 (12 Apr 2007)
+
+ 12 Apr 2007; Michael Sterrett <mr_bones_@gentoo.org> +fbzx-1.8.ebuild:
+ version bump
21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/games-emulation/fbzx/fbzx-1.8.ebuild b/games-emulation/fbzx/fbzx-1.8.ebuild
new file mode 100644
index 000000000000..9e3a5ffa6b07
--- /dev/null
+++ b/games-emulation/fbzx/fbzx-1.8.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fbzx/fbzx-1.8.ebuild,v 1.1 2007/04/12 06:53:34 mr_bones_ Exp $
+
+inherit eutils toolchain-funcs games
+
+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/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl"
+
+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 "/^CC/s:gcc:$(tc-getCC):" \
+ -e "s/^\(CC =\).*/\1 $(tc-getCC) ${CFLAGS}/" \
+ -e "s:-O2:${CFLAGS}:" \
+ Makefile || die "sed failed"
+}
+
+src_install() {
+ dogamesbin fbzx || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}/${PN}/roms"
+ doins roms/* || die "doins failed"
+ dodoc CAPABILITIES FAQ PORTS README* TODO VERSIONS
+ prepgamesdirs
+}
diff --git a/games-emulation/fbzx/files/digest-fbzx-1.8 b/games-emulation/fbzx/files/digest-fbzx-1.8
new file mode 100644
index 000000000000..43832e3e2035
--- /dev/null
+++ b/games-emulation/fbzx/files/digest-fbzx-1.8
@@ -0,0 +1,3 @@
+MD5 2f151e4fbe2e1213309468b2428d6694 fbzx-1.8.tar.bz2 200749
+RMD160 2aa4ee01b725400ddbbd4cc172c34edca01fe926 fbzx-1.8.tar.bz2 200749
+SHA256 150706178dcd18fd5022cdfe0d1a0a7dabf8cbf1a976c92566cf0e00d3690cae fbzx-1.8.tar.bz2 200749