diff options
author | Ryan Tolboom <ryan@gentoo.org> | 2001-05-27 22:39:02 +0000 |
---|---|---|
committer | Ryan Tolboom <ryan@gentoo.org> | 2001-05-27 22:39:02 +0000 |
commit | 0bf39921ce704b6dde9eee87621741a3df4e839a (patch) | |
tree | 1afc1de7597bac1243fb0e43f122deecb55892c5 /app-emulation | |
parent | more fixes to linux-2.4.4-r5 (diff) | |
download | gentoo-2-0bf39921ce704b6dde9eee87621741a3df4e839a.tar.gz gentoo-2-0bf39921ce704b6dde9eee87621741a3df4e839a.tar.bz2 gentoo-2-0bf39921ce704b6dde9eee87621741a3df4e839a.zip |
Added DarcNES a multi-system emulator
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/darcnes/dn9b-0401.ebuild | 48 | ||||
-rw-r--r-- | app-emulation/darcnes/files/digest-dn9b-0401 | 1 |
2 files changed, 49 insertions, 0 deletions
diff --git a/app-emulation/darcnes/dn9b-0401.ebuild b/app-emulation/darcnes/dn9b-0401.ebuild new file mode 100644 index 000000000000..e50f24af836e --- /dev/null +++ b/app-emulation/darcnes/dn9b-0401.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Ryan Tolboom <ryan@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-emulation/darcnes/dn9b-0401.ebuild,v 1.1 2001/05/27 22:39:02 ryan Exp $ + +A=dn9b0401.tgz +S=${WORKDIR}/darcnes +DESCRIPTION="A multi-system emulator" +SRC_URI="http://www.dridus.com/~nyef/darcnes/download/${A}" +HOMEPAGE="http://www.netway.com/~nyef" + +DEPEND=">=media-libs/svgalib-1.4.2 + X? ( virtual/x11 ) + gtk? ( >=x11-libs/gtk+-1.2.8 )" + +src_compile() { + + cp cd_unix.c cd_unix.c.orig + cat cd_unix.c.orig | sed "s:CDROM_DEVICE \"/dev/cdrom\"$:CDROM_DEVICE \"/dev/cdroms/cdrom0\":"\ + > cd_unix.c + cp Makefile Makefile.orig + if [ "`use X`" ] + then + if [ "`use gtk`" ] + then + cat Makefile.orig | sed "s:^TARGET?=Linux_X$:TARGET?=Linux_GTK:" \ + > Makefile + fi + try make + fi + cat Makefile.orig | sed "s:^TARGET?=Linux_X$:TARGET?=Linux_svgalib:" \ + > Makefile + try make + +} + +src_install () { + + exeinto /usr/bin + doexe sdarcnes + if [ "`use X`" ] + then + exeinto /usr/X11R6/bin + doexe darcnes + fi + dodoc readme + +} diff --git a/app-emulation/darcnes/files/digest-dn9b-0401 b/app-emulation/darcnes/files/digest-dn9b-0401 new file mode 100644 index 000000000000..52909ccd7004 --- /dev/null +++ b/app-emulation/darcnes/files/digest-dn9b-0401 @@ -0,0 +1 @@ +MD5 84d0cb6fc00017e5bf7cc09acd5e365b dn9b0401.tgz |