summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-07-18 22:59:40 +0000
committerMike Frysinger <vapier@gentoo.org>2003-07-18 22:59:40 +0000
commit597da433ae7cc9f54e002bbd6e6d43052d4be052 (patch)
treede09636fc82a769172b80d7897882ca4b81d46bb /app-emulation
parentMarked stable for x86. (diff)
downloadgentoo-2-597da433ae7cc9f54e002bbd6e6d43052d4be052.tar.gz
gentoo-2-597da433ae7cc9f54e002bbd6e6d43052d4be052.tar.bz2
gentoo-2-597da433ae7cc9f54e002bbd6e6d43052d4be052.zip
games.eclass
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/nestra/ChangeLog5
-rw-r--r--app-emulation/nestra/Manifest6
-rw-r--r--app-emulation/nestra/files/digest-nestra-0.661
-rw-r--r--app-emulation/nestra/nestra-0.66.ebuild41
4 files changed, 38 insertions, 15 deletions
diff --git a/app-emulation/nestra/ChangeLog b/app-emulation/nestra/ChangeLog
index f9d6ff80fee7..5d471ebd36a4 100644
--- a/app-emulation/nestra/ChangeLog
+++ b/app-emulation/nestra/ChangeLog
@@ -1,8 +1,11 @@
# ChangeLog for app-emulation/nestra
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/nestra/ChangeLog,v 1.2 2003/02/12 04:01:53 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/nestra/ChangeLog,v 1.3 2003/07/18 22:59:32 vapier Exp $
*nestra-0.66 (27 Dec 2002)
+ 18 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Add debian patch + games.eclass support.
+
27 Dec 2002; Ryan Phillips <rphillips@gentoo.org> nestra-0.66.ebuild :
initial release
diff --git a/app-emulation/nestra/Manifest b/app-emulation/nestra/Manifest
index ca482246bfb1..9a65e44fb6c5 100644
--- a/app-emulation/nestra/Manifest
+++ b/app-emulation/nestra/Manifest
@@ -1,3 +1,3 @@
-MD5 bbc20ac944e1496dd14dbeb443e95fcc ChangeLog 341
-MD5 eae531719e5cc75e93bb0fc065a1059c nestra-0.66.ebuild 511
-MD5 41a08030af16f7bfaa2f739a75912657 files/digest-nestra-0.66 62
+MD5 32d582dc60a09f353a5bc5f1cf254960 files/digest-nestra-0.66 126
+MD5 7becc4ff2494298b68997d9f0ec751d1 nestra-0.66.ebuild 834
+MD5 5d044df0a5fe990c7654cddd26af095c ChangeLog 437
diff --git a/app-emulation/nestra/files/digest-nestra-0.66 b/app-emulation/nestra/files/digest-nestra-0.66
index 2cd6e3e2533a..60f6b4c31ca7 100644
--- a/app-emulation/nestra/files/digest-nestra-0.66
+++ b/app-emulation/nestra/files/digest-nestra-0.66
@@ -1 +1,2 @@
MD5 ef3de7a20216e88e60d5b973b72d8217 nestra-0.66.tar.gz 49757
+MD5 82883440ec0f141e88372ebae6fbbf32 nestra_0.66-6.diff.gz 2221
diff --git a/app-emulation/nestra/nestra-0.66.ebuild b/app-emulation/nestra/nestra-0.66.ebuild
index b183c1df1349..31460ac42c7a 100644
--- a/app-emulation/nestra/nestra-0.66.ebuild
+++ b/app-emulation/nestra/nestra-0.66.ebuild
@@ -1,21 +1,40 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/nestra/nestra-0.66.ebuild,v 1.2 2003/02/13 07:14:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/nestra/nestra-0.66.ebuild,v 1.3 2003/07/18 22:59:32 vapier Exp $
-S=${WORKDIR}/nestra/
-IUSE=""
+inherit games eutils
+
+PATCH="${P/-/_}-6.diff"
+DESCRIPTION="NES emulation for Linux/x86"
+HOMEPAGE="http://nestra.linuxgames.com/"
+SRC_URI="http://nestra.linuxgames.com/${P}.tar.gz
+ http://ftp.debian.org/debian/pool/contrib/n/nestra/${PATCH}.gz"
+
+LICENSE="GPL-2"
SLOT="0"
-DESCRIPTION="NES Emulator"
-HOMEPAGE="http://nestra.linuxgames.com"
KEYWORDS="x86"
-SRC_URI="http://nestra.linuxgames.com/${P}.tar.gz"
-LICENSE="as-is"
+
+DEPEND="virtual/x11"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${WORKDIR}/${PATCH}
+ sed -i \
+ 's:-O2 ::' \
+ "s:gcc:gcc ${CFLAGS}:" \
+ Makefile
+}
src_compile() {
- emake || die
+ make || die "compile failed"
}
src_install() {
- dobin nestra
- dodoc README CHANGES BUGS
+ dogamesbin nestra
+ dodoc BUGS CHANGES README
+ doman nestra.6
+ prepgamesdirs
}