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
commit4449c749e4d0a531f4dffcd6bd11772e59ecbf81 (patch)
tree47ac23a46562d1736503b9b2447f81b34199c04e /games-emulation/gens/gens-2.12.ebuild
parentNew package - rename. (diff)
downloadhistorical-4449c749e4d0a531f4dffcd6bd11772e59ecbf81.tar.gz
historical-4449c749e4d0a531f4dffcd6bd11772e59ecbf81.tar.bz2
historical-4449c749e4d0a531f4dffcd6bd11772e59ecbf81.zip
welcome to games-emulation
Diffstat (limited to 'games-emulation/gens/gens-2.12.ebuild')
-rw-r--r--games-emulation/gens/gens-2.12.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/games-emulation/gens/gens-2.12.ebuild b/games-emulation/gens/gens-2.12.ebuild
new file mode 100644
index 000000000000..1f7ebfe5c25c
--- /dev/null
+++ b/games-emulation/gens/gens-2.12.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gens/gens-2.12.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games
+
+S="${WORKDIR}/${PN}_linux/gens"
+DESCRIPTION="A Sega Genesis/CD/32X emulator"
+SRC_URI="mirror://sourceforge/gens/Gens212a1SrcL.zip"
+HOMEPAGE="http://gens.consolemul.com/"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=media-libs/libsdl-1.2
+ app-arch/unzip
+ >=dev-lang/nasm-0.98
+ >=sys-apps/sed-4
+ >=x11-libs/gtk+-2.0*"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ sed -i \
+ -e "s:\./resource:${GAMES_DATADIR}/${P}:" g_ddraw_dummy.cpp || \
+ die "sed g_ddraw_dummy.cpp failed"
+
+ sed -i \
+ -e "s:\./resource:${GAMES_DATADIR}/${P}:" g_main_dummy.cpp || \
+ die "sed g_main_dummy.cpp failed"
+}
+
+src_install () {
+ dogamesbin gens
+
+ insinto ${GAMES_DATADIR}/${P}
+ doins resource/*
+
+ # Install documentation.
+ dodoc ../README
+
+ prepgamesdirs
+}