blob: d44f55f03188901c1effd3ad2ac2d30db62de2de (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemulator/qemulator-0.5.ebuild,v 1.2 2008/10/12 16:51:37 lu_zero Exp $
inherit eutils python
MY_PN="${PN/q/Q}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="a gtk/glade front-end for Qemu"
HOMEPAGE="http://qemulator.createweb.de/"
SRC_URI="http://qemulator.createweb.de/plugins/downloads/dodownload.php?file=${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""
DEPEND=""
RDEPEND=">=dev-python/pygtk-2.8.6
>=app-emulation/qemu-softmmu-0.8.1"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd ${S}
#for good directory
epatch ${FILESDIR}/basedir.patch
}
src_install() {
#INSTDIR="/usr/"
einfo "Installing Qemulator..."
#dodir ${INSTDIR}
#mv ${WORKDIR}/${MY_P}/usr/* ${D}${INSTDIR}
dobin usr/local/bin/*
insinto /usr/lib/${PN}
doins -r usr/local/lib/${PN}/*
insinto /usr/share
doins -r usr/local/share/*
dodoc TRANSLATION README
}
|