summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-01-22 07:44:30 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-01-22 07:44:30 +0000
commit0de93788d828911a7a37ca2ff714ceba5ac66df3 (patch)
tree77fb37c080839d231a5dbf0c5ee30051a5649214 /games-emulation/gcube/gcube-0.4-r1.ebuild
parentstable x86, bug 206923 (diff)
downloadgentoo-2-0de93788d828911a7a37ca2ff714ceba5ac66df3.tar.gz
gentoo-2-0de93788d828911a7a37ca2ff714ceba5ac66df3.tar.bz2
gentoo-2-0de93788d828911a7a37ca2ff714ceba5ac66df3.zip
Install gcube-thpview and depend on media-libs/jpeg, bug #206372
(Portage version: 2.1.4)
Diffstat (limited to 'games-emulation/gcube/gcube-0.4-r1.ebuild')
-rw-r--r--games-emulation/gcube/gcube-0.4-r1.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/games-emulation/gcube/gcube-0.4-r1.ebuild b/games-emulation/gcube/gcube-0.4-r1.ebuild
new file mode 100644
index 000000000000..02e4583f57e9
--- /dev/null
+++ b/games-emulation/gcube/gcube-0.4-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gcube/gcube-0.4-r1.ebuild,v 1.1 2008/01/22 07:44:30 nyhm Exp $
+
+inherit games
+
+DESCRIPTION="Gamecube emulator"
+HOMEPAGE="http://gcube.exemu.net/"
+SRC_URI="http://gcube.exemu.net/downloads/${P}-src.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="virtual/opengl
+ media-libs/libsdl
+ media-libs/jpeg
+ sys-libs/ncurses
+ sys-libs/zlib"
+
+S=${WORKDIR}/${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e '/^CFLAGS=-g/d' Makefile.rules \
+ || die "sed failed"
+}
+
+src_install() {
+ local x
+
+ dogamesbin gcmap gcube || die "dogamesbin failed"
+ for x in bin2dol isopack thpview tplx ; do
+ newgamesbin ${x} ${PN}-${x} || die "newgamesbin ${x} failed"
+ done
+ dodoc ChangeLog README
+ prepgamesdirs
+}