blob: 30caea3667aa87562a850288c568b0a5192628e1 (
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
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64/mupen64-0.1.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
inherit games
DESCRIPTION="A Nintendo 64 (N64) emulator"
#SRC_URI="http://mupen64.emulation64.com/files/mupen64_${PV}.tgz"
SRC_URI="mirror://gentoo/mupen64_${PV}_src.tgz"
HOMEPAGE="http://mupen64.emulation64.com/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 -ppc -sparc"
DEPEND="=x11-libs/gtk+-1.2*
>=sys-apps/sed-4
media-libs/libsdl
virtual/glu
virtual/opengl"
S=${WORKDIR}/emu64
src_unpack() {
unpack ${A}
sed -i -e "/^CC.*/s:$: ${CFLAGS}:" ${S}/Makefile || die "sed failed"
}
src_compile() {
emake || die
}
src_install() {
local dir=${GAMES_LIBDIR}/${PN}
dodir ${dir}
cp -r mupen64* lang plugins save roms path.cfg ${D}/${dir}/
sed -e "s:GENTOO_DIR:${dir}:" \
${FILESDIR}/mupen64 > ${T}/mupen64
dogamesbin ${T}/mupen64
dodoc *.txt
dohtml index.htm
prepgamesdirs
}
|