summaryrefslogtreecommitdiff
blob: 587a479eb8dedc4b8d47995ba11ecab12cc43894 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/gcube/gcube-0.3.ebuild,v 1.2 2005/05/03 10:10:08 dholm 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="x86 ~ppc"
IUSE=""

DEPEND="virtual/opengl
	media-libs/libsdl
	sys-libs/ncurses
	sys-libs/zlib"

S="${WORKDIR}"

src_unpack() {
	unpack ${A}
	cd ${S}
	sed -i '/^CFLAGS=-g/d' Makefile.rules
}

src_install() {
	dogamesbin gcmap gcube || die "gcube"
	local x
	for x in bin2dol isopack tplx ; do
		newgamesbin ${x} ${PN}-${x} || die "${x} failed"
	done
	dodoc ChangeLog README
	prepgamesdirs
}