summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-09 16:28:07 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-09 16:28:07 +0000
commitae044aeba549da343d278a26bb72bac844e5a5e4 (patch)
treeb16ea879113ef2bd09bb78bb00e8338b088d3afb /games-emulation/fakenes
parentNew package - rename. (diff)
downloadgentoo-2-ae044aeba549da343d278a26bb72bac844e5a5e4.tar.gz
gentoo-2-ae044aeba549da343d278a26bb72bac844e5a5e4.tar.bz2
gentoo-2-ae044aeba549da343d278a26bb72bac844e5a5e4.zip
welcome to games-emulation
Diffstat (limited to 'games-emulation/fakenes')
-rw-r--r--games-emulation/fakenes/ChangeLog8
-rw-r--r--games-emulation/fakenes/Manifest4
-rw-r--r--games-emulation/fakenes/fakenes-0.1.5.ebuild36
-rw-r--r--games-emulation/fakenes/files/0.1.5-datadir.patch15
-rw-r--r--games-emulation/fakenes/files/digest-fakenes-0.1.51
5 files changed, 64 insertions, 0 deletions
diff --git a/games-emulation/fakenes/ChangeLog b/games-emulation/fakenes/ChangeLog
new file mode 100644
index 000000000000..9a90fba3cac5
--- /dev/null
+++ b/games-emulation/fakenes/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-emulation/fakenes
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fakenes/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*fakenes-0.1.5 (13 Jul 2003)
+
+ 13 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-emulation/fakenes/Manifest b/games-emulation/fakenes/Manifest
new file mode 100644
index 000000000000..c96fe8d15a7c
--- /dev/null
+++ b/games-emulation/fakenes/Manifest
@@ -0,0 +1,4 @@
+MD5 e9a9bc32452d154ce443765e2334b5a2 ChangeLog 349
+MD5 505cd59d8b6b15afd3849f86b1545e4b fakenes-0.1.5.ebuild 872
+MD5 55bbaf2c59dbeac27e9979c3c7412e23 files/0.1.5-datadir.patch 523
+MD5 061dfec5022863f5828ae0ab94ea623a files/digest-fakenes-0.1.5 65
diff --git a/games-emulation/fakenes/fakenes-0.1.5.ebuild b/games-emulation/fakenes/fakenes-0.1.5.ebuild
new file mode 100644
index 000000000000..fefbcb40b4be
--- /dev/null
+++ b/games-emulation/fakenes/fakenes-0.1.5.ebuild
@@ -0,0 +1,36 @@
+# 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.1.5.ebuild,v 1.1 2003/09/09 16:26:50 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="X gnome"
+
+DEPEND="media-libs/allegro
+ sys-libs/zlib"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/src
+ epatch ${FILESDIR}/${PV}-datadir.patch
+ sed -i "s:GENTOO_DIR:${GAMES_DATADIR}/${PN}:" main.c
+}
+
+src_compile() {
+ egamesconf || die
+ make || die
+}
+
+src_install() {
+ dogamesbin src/fakenes
+ insinto ${GAMES_DATADIR}/${PN}
+ doins src/support/fakenes.{dat,ico,rc}
+ dodoc CHANGES README SOURCE SUPPORT
+}
diff --git a/games-emulation/fakenes/files/0.1.5-datadir.patch b/games-emulation/fakenes/files/0.1.5-datadir.patch
new file mode 100644
index 000000000000..f2c0606d2dd5
--- /dev/null
+++ b/games-emulation/fakenes/files/0.1.5-datadir.patch
@@ -0,0 +1,15 @@
+--- main.c.orig 2003-07-13 01:53:13.000000000 -0400
++++ main.c 2003-07-13 01:54:28.000000000 -0400
+@@ -442,10 +442,10 @@
+
+ if (! data)
+ {
+- fprintf (stderr, "Datafile not found in configuration path, trying cwd.\n");
++ fprintf (stderr, "Datafile not found in configuration path, trying GENTOO_DIR.\n");
+
+
+- datfile = "fakenes.dat";
++ datfile = "GENTOO_DIR/fakenes.dat";
+
+ data = load_datafile (datfile);
+ }
diff --git a/games-emulation/fakenes/files/digest-fakenes-0.1.5 b/games-emulation/fakenes/files/digest-fakenes-0.1.5
new file mode 100644
index 000000000000..0749c94b6853
--- /dev/null
+++ b/games-emulation/fakenes/files/digest-fakenes-0.1.5
@@ -0,0 +1 @@
+MD5 286b9f66b9dbce2ae9425a2ec26562e3 fakenes-0.1.5.tar.bz2 94978