summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation/virtualjaguar/virtualjaguar-1.0.5.ebuild')
-rw-r--r--games-emulation/virtualjaguar/virtualjaguar-1.0.5.ebuild48
1 files changed, 48 insertions, 0 deletions
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."
+}