# ChangeLog for games-emulation/fbzx
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/fbzx/ChangeLog,v 1.9 2005/09/26 17:44:41 wolf31o2 Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fbzx/ChangeLog,v 1.10 2006/02/28 16:52:06 mr_bones_ Exp $
+
+*fbzx-1.6 (28 Feb 2006)
+
+ 28 Feb 2006; Michael Sterrett <mr_bones_@gentoo.org> +fbzx-1.6.ebuild:
+ version bump
26 Sep 2005; Chris Gianelloni <wolf31o2@gentoo.org> fbzx-1.4.ebuild,
fbzx-1.5.ebuild:
-MD5 9f58de34fbd14b19cbbb2cd3177458c4 fbzx-1.5.ebuild 1035
+MD5 5d17d3b17bdb5fe323dfd2974d70286a ChangeLog 1340
+RMD160 bb42ed07ef9e766c7f9a24f18a42edc2ae4b7a92 ChangeLog 1340
+SHA256 1f6a53fdb2ccc73e27f8c5749657447f8c6355cee3b3b408ca025222bcdafed9 ChangeLog 1340
MD5 648ae5118fafaea87614825d90b8be74 fbzx-1.4.ebuild 1071
-MD5 048f15b9e825a1aac758b41da5d581e4 ChangeLog 1224
-MD5 81bd0669b341796d12149ac4952418db metadata.xml 373
+RMD160 d619bccb37edea27b87904ed15e9af7a3df49883 fbzx-1.4.ebuild 1071
+SHA256 7243f2eba044a520965f8adb1951b94c58422bd6678faa5cb05264470f4ca319 fbzx-1.4.ebuild 1071
+MD5 9f58de34fbd14b19cbbb2cd3177458c4 fbzx-1.5.ebuild 1035
+RMD160 fbc880ff006241a255e085bdd3b9f46db0648b92 fbzx-1.5.ebuild 1035
+SHA256 f48e24e88d65e5f5482625b2910dbd38b6685789783555440dcd8f81f24a1b0c fbzx-1.5.ebuild 1035
+MD5 d607cddf3549a8024491282e63e161a9 fbzx-1.6.ebuild 1080
+RMD160 8bffcbe1197fd436aff3a6393723bdcee94a49ab fbzx-1.6.ebuild 1080
+SHA256 3fa2eeafe1de054ef65af9e461f34dd6b5bc33d21a26f908f09d597b3a7ec6a0 fbzx-1.6.ebuild 1080
MD5 b9606b66bd75fa27b8eaf43a28f4a4f0 files/1.4-endian.patch 510
+RMD160 029bdc7d0bb3e60a4c34a416d6a15c3d5d7ab6dc files/1.4-endian.patch 510
+SHA256 9957dd39bfefb64862984340c14fdff6566a79ee0f8ad9e58d96e88bdd46122f files/1.4-endian.patch 510
MD5 9cc8a2493a16d022735c1a3b790a2da8 files/digest-fbzx-1.4 58
+RMD160 b018e22c53ea483fc040095ad87df437cfe92a51 files/digest-fbzx-1.4 58
+SHA256 ef9261be8c2fdfd9577779b7f981b449465432f595bc98c9256173db08ebd1fe files/digest-fbzx-1.4 58
MD5 e8c5b41d128e4deaa684f63f1892ded2 files/digest-fbzx-1.5 58
+RMD160 765937621ceb6683af916555b1b1f8b930faeae3 files/digest-fbzx-1.5 58
+SHA256 e0f35e8e24c56f2bf62a6a07364d67a473d356c33ce4f7dbea2235421810c0df files/digest-fbzx-1.5 58
+MD5 41dbd0afe1e0f9ab7460947ebdd083ea files/digest-fbzx-1.6 223
+RMD160 b53558c65685f3cfaa1393a6a122a54f71e0ccff files/digest-fbzx-1.6 223
+SHA256 d6c58fbe7eeb204ba39745f46a7600c3b1bc70a2af5b244415a1ba0c8ecdd603 files/digest-fbzx-1.6 223
+MD5 81bd0669b341796d12149ac4952418db metadata.xml 373
+RMD160 fba02d0d918f162bdf1af4efd0d44288387eb621 metadata.xml 373
+SHA256 cfc22cdc3070259d99034fc14a2eb26f8278da294aa017eb88a630871549f84a metadata.xml 373
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fbzx/fbzx-1.6.ebuild,v 1.1 2006/02/28 16:52:06 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/${PN}${PV//./}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl"
+
+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 "/^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
+}