summaryrefslogtreecommitdiff
blob: a23bd6aebaccc291f4bd01ab9cbd173b31b7aca2 (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
47
48
49
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="1"

inherit games

DESCRIPTION="PlayOnLinux is a piece of sofware which allow you to install and use easily numerous games and softwares designed to run with Windows(tm)."
HOMEPAGE="http://www.playonlinux.com/"
SRC_URI="http://www.playonlinux.com/script_files/PlayOnLinux/${PV}/PlayOnLinux_${PV}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="dev-lang/python
		x11-libs/wxGTK
		x11-libs/gtk+
		www-client/lynx
		app-arch/unzip
		app-arch/cabextract
		sys-devel/binutils
		x11-terms/xterm
		app-emulation/wine
		media-gfx/imagemagick
		app-arch/lzma-utils"
RDEPEND="${DEPEND}
		dev-python/wxpython"

S="${WORKDIR}/playonlinux"

src_unpack() {
	unpack ${A}
	cd "${S}"
}

src_install() {
	cd "${S}"
	./playonlinux || die "install failed"
	einfo "Fix for License miss spelling"
	addpredict "${S}"
	addread "${S}"
	mv LICENCE LICENSE

	dodoc CHANGELOG LICENSE || die "doc failed"
}