diff options
-rw-r--r-- | games-emulation/xe/ChangeLog | 10 | ||||
-rw-r--r-- | games-emulation/xe/Manifest | 2 | ||||
-rw-r--r-- | games-emulation/xe/files/digest-xe-20050801 | 1 | ||||
-rw-r--r-- | games-emulation/xe/files/xe-20050801 | 10 | ||||
-rw-r--r-- | games-emulation/xe/metadata.xml | 5 | ||||
-rw-r--r-- | games-emulation/xe/xe-20050801.ebuild | 46 |
6 files changed, 74 insertions, 0 deletions
diff --git a/games-emulation/xe/ChangeLog b/games-emulation/xe/ChangeLog new file mode 100644 index 000000000000..4ab209e1693f --- /dev/null +++ b/games-emulation/xe/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-emulation/xe +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/xe/ChangeLog,v 1.1 2005/08/04 21:33:06 mr_bones_ Exp $ + +*xe-20050801 (04 Aug 2005) + + 04 Aug 2005; Michael Sterrett <mr_bones_@gentoo.org> +files/xe-20050801, + +metadata.xml, +xe-20050801.ebuild: + initial commit (bug #74323) + diff --git a/games-emulation/xe/Manifest b/games-emulation/xe/Manifest new file mode 100644 index 000000000000..b2b1077a3ce3 --- /dev/null +++ b/games-emulation/xe/Manifest @@ -0,0 +1,2 @@ +MD5 d5e2ae3fa61b755c945c9c3d33fc8e7a xe-20050801.ebuild 866 +MD5 855659c7db791671c56e8f65f9d1552e files/digest-xe-20050801 65 diff --git a/games-emulation/xe/files/digest-xe-20050801 b/games-emulation/xe/files/digest-xe-20050801 new file mode 100644 index 000000000000..89d8adb08a5b --- /dev/null +++ b/games-emulation/xe/files/digest-xe-20050801 @@ -0,0 +1 @@ +MD5 3eb7f335dc2294a79e6c88ab2fe8c42e xe-05.08.01.tar.bz2 1198303 diff --git a/games-emulation/xe/files/xe-20050801 b/games-emulation/xe/files/xe-20050801 new file mode 100644 index 000000000000..16a8f8e16251 --- /dev/null +++ b/games-emulation/xe/files/xe-20050801 @@ -0,0 +1,10 @@ +#!/bin/sh + +if [ ! -d ~/.xe/modules ] ; then + mkdir -p ~/.xe/modules +fi +for f in GENTOODIR/modules/* +do + ln -s $f ~/.xe/modules/ 2> /dev/null +done +exec xe.bin "${@}" diff --git a/games-emulation/xe/metadata.xml b/games-emulation/xe/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-emulation/xe/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> diff --git a/games-emulation/xe/xe-20050801.ebuild b/games-emulation/xe/xe-20050801.ebuild new file mode 100644 index 000000000000..01e83aee8e6b --- /dev/null +++ b/games-emulation/xe/xe-20050801.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/xe/xe-20050801.ebuild,v 1.1 2005/08/04 21:33:06 mr_bones_ Exp $ + +inherit games + +MY_PV="${PV:2:2}.${PV:4:2}.${PV:6:2}" +DESCRIPTION="a multi system emulator for many console and handheld video game systems" +HOMEPAGE="http://www.xe-emulator.com/" +SRC_URI="http://www.xe-emulator.com/files/${PN}-${MY_PV}.tar.bz2" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="-* ~x86" +IUSE="" +RESTRICT="nostrip" + +RDEPEND="virtual/x11 + sys-libs/zlib + =x11-libs/gtk+-2*" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S=${WORKDIR}/${PN}-bin + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e '/strip/d' \ + -e '/^CC/d' \ + Makefile \ + || die "sed failed" +} + +src_install() { + newgamesbin xe xe.bin || die "newgamesbin failed" + newgamesbin "${FILESDIR}/xe-${PV}" xe || die "newgamesbin failed" + sed -i \ + -e "s:GENTOODIR:${GAMES_LIBDIR}/${PN}:" "${D}/${GAMES_BINDIR}/xe" \ + || die "sed failed" + insinto "${GAMES_LIBDIR}/${PN}" + doins -r modules || die "doins failed" + dodoc README.txt + prepgamesdirs +} |