blob: df7aa47925feb64a417122deb7a086688bccadd9 (
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-2010 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.4 2010/01/05 12:58:43 fauli Exp $
EAPI=2
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/phocadownload/${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 app-emulation/qemu app-emulation/qemu-kvm )"
S=${WORKDIR}/${MY_P}
src_prepare() {
#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
}
|