summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <msterret@gentoo.org>2003-09-13 02:14:54 +0000
committerMichael Sterrett <msterret@gentoo.org>2003-09-13 02:14:54 +0000
commit2cd2533680cf7d5c82b5ad8783e68d41d532cf0d (patch)
treee23fc944fa17ab51541ace06497bd7ea32a4d8a1 /games-emulation/virtualjaguar
parentinitial commit (diff)
downloadgentoo-2-2cd2533680cf7d5c82b5ad8783e68d41d532cf0d.tar.gz
gentoo-2-2cd2533680cf7d5c82b5ad8783e68d41d532cf0d.tar.bz2
gentoo-2-2cd2533680cf7d5c82b5ad8783e68d41d532cf0d.zip
initial commit
Diffstat (limited to 'games-emulation/virtualjaguar')
-rw-r--r--games-emulation/virtualjaguar/ChangeLog10
-rw-r--r--games-emulation/virtualjaguar/Manifest4
-rw-r--r--games-emulation/virtualjaguar/files/digest-virtualjaguar-1.0.51
-rw-r--r--games-emulation/virtualjaguar/files/virtualjaguar32
-rw-r--r--games-emulation/virtualjaguar/virtualjaguar-1.0.5.ebuild48
5 files changed, 94 insertions, 1 deletions
diff --git a/games-emulation/virtualjaguar/ChangeLog b/games-emulation/virtualjaguar/ChangeLog
new file mode 100644
index 000000000000..68a220694ebf
--- /dev/null
+++ b/games-emulation/virtualjaguar/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-emulation/virtualjaguar
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/virtualjaguar/ChangeLog,v 1.1 2003/09/13 02:14:52 msterret Exp $
+
+*virtualjaguar-1.0.5 (12 Sep 2003)
+
+ 12 Sep 2003; Michael Sterrett <msterret@gentoo.org>
+ virtualjaguar-1.0.5.ebuild, files/virtualjaguar:
+ initial commit
+
diff --git a/games-emulation/virtualjaguar/Manifest b/games-emulation/virtualjaguar/Manifest
index 7bd8e9c67000..fdd593f2cc6e 100644
--- a/games-emulation/virtualjaguar/Manifest
+++ b/games-emulation/virtualjaguar/Manifest
@@ -1,2 +1,4 @@
-MD5 ce6b1915537f146252431ec4609e25d6 virtualjaguar-1.0.5.ebuild 438
+MD5 4b0f826fba3fc7a08f390a7341fc0a7c virtualjaguar-1.0.5.ebuild 1248
+MD5 6a6a75a8e9fd2d0497cb8b24ad71d7d8 ChangeLog 401
MD5 537c716601ef69dc13d9285e99d0f339 files/digest-virtualjaguar-1.0.5 72
+MD5 3c40df8eb5791440301d22df29713f43 files/virtualjaguar 751
diff --git a/games-emulation/virtualjaguar/files/digest-virtualjaguar-1.0.5 b/games-emulation/virtualjaguar/files/digest-virtualjaguar-1.0.5
new file mode 100644
index 000000000000..d76035a83eac
--- /dev/null
+++ b/games-emulation/virtualjaguar/files/digest-virtualjaguar-1.0.5
@@ -0,0 +1 @@
+MD5 83b1f1078c8993ead3d81e6ccf7a0316 virtualjaguar-1.0.5-src.tbz 164876
diff --git a/games-emulation/virtualjaguar/files/virtualjaguar b/games-emulation/virtualjaguar/files/virtualjaguar
new file mode 100644
index 000000000000..24f5f09dbb6a
--- /dev/null
+++ b/games-emulation/virtualjaguar/files/virtualjaguar
@@ -0,0 +1,32 @@
+#!/bin/sh
+#
+# Script for launching virtualjaguar
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/virtualjaguar/files/virtualjaguar,v 1.1 2003/09/13 02:14:52 msterret Exp $
+
+source /sbin/functions.sh
+
+shopt -s nullglob
+
+if [ ! -d ~/.vj/bios ] ; then
+ mkdir -p ~/.vj/bios
+fi
+
+if [ ! -d ~/.vj/eeproms ] ; then
+ mkdir -p ~/.vj/eeproms
+fi
+
+cd ~/.vj
+
+# check for bios
+if [ -z "`cd ./bios && ls`" ] ; then
+ # if the bios directory is empty, then ... well ...
+ echo
+ eerror " Put your BIOS file into ~/.vp/bios/"
+ eerror " or virtualjaguar will not work!"
+ exit 1
+fi
+
+# execute program (with args)
+exec /usr/games/bin/vj "$@"
diff --git a/games-emulation/virtualjaguar/virtualjaguar-1.0.5.ebuild b/games-emulation/virtualjaguar/virtualjaguar-1.0.5.ebuild
new file mode 100644
index 000000000000..901342db6a6e
--- /dev/null
+++ b/games-emulation/virtualjaguar/virtualjaguar-1.0.5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/virtualjaguar/virtualjaguar-1.0.5.ebuild,v 1.1 2003/09/13 02:14:52 msterret Exp $
+
+inherit games
+
+S="${WORKDIR}/${P}-src"
+DESCRIPTION="an Atari Jaguar emulator"
+HOMEPAGE="http://www.icculus.org/virtualjaguar/"
+SRC_URI="http://www.icculus.org/virtualjaguar/tarballs/${P}-src.tbz"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+KEYWORDS="~x86"
+
+RDEPEND=">=media-libs/libsdl-1.2.5
+ >=sys-libs/zlib-1.1.4"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ bzip2 -dc ${DISTDIR}/${A} | tar -xf -
+ cd ${S}
+
+ sed -i \
+ -e "s:-O3:${CFLAGS}:" Makefile.unix || \
+ die "sed Makefile.unix failed"
+}
+
+src_compile() {
+ emake -j1 -f Makefile.unix
+}
+
+src_install() {
+ dogamesbin vj
+ dogamesbin ${FILESDIR}/virtualjaguar
+ dodoc INSTALL docs/{README,TODO,WHATSNEW}
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ einfo "Please run virtualjaguar to create the necessary directories"
+ einfo "in your home directory. After that you man place ROM files"
+ einfo "in ~/.vj and they will be detected when you run virtualjaguar."
+ einfo "You may then select which ROM to run from inside the emulator."
+}