summaryrefslogtreecommitdiff
blob: fbb6cda75c15cff5c0cc56fd0fa0dbf4dfc79d68 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/epsxe/epsxe-1.5.2.ebuild,v 1.8 2002/11/18 10:36:42 hanno Exp $

S=${WORKDIR}
DESCRIPTION="ePSXe Playstation Emulator"
HOMEPAGE="http://www.epsxe.com"
LICENSE="freedist"
KEYWORDS="x86 -ppc"
SLOT="0"
IUSE="opengl"

use opengl && GLDEPEND="app-emulation/psemu-gpupetemesagl"
use opengl || GLDEPEND="app-emulation/psemu-peopssoftgpu"

DEPEND="app-arch/unzip"
RDEPEND=">=dev-libs/glib-1.2
	=x11-libs/gtk+-1.2*
	=sys-libs/ncurses-5*
	=sys-libs/zlib-1*
	net-misc/wget
	app-emulation/psemu-peopsspu
	${GLDEPEND}"

SRC_URI="http://download.epsxe.com/files/epsxe152lin.zip"

# For some strange reason, strip truncates the whole file
RESTRICT="nostrip"

src_unpack() {
	unzip ${DISTDIR}/${A}
}

src_install () {
	dobin ${FILESDIR}/epsxe

	insinto /opt/epsxe
	doins epsxe
	chmod 755 ${D}/opt/epsxe/epsxe

	insinto /usr/lib/psemu/cheats
	doins cheats/*

	dodoc docs/*
}