summaryrefslogtreecommitdiff
blob: 607f335985b726a037a24f889b8b60ed7ee5ca87 (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
# 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.5 2002/08/06 19:04:14 gerk Exp $

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

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/*
}