summaryrefslogtreecommitdiff
blob: deb86f134aee2be8cf5b7f95390eda0bd771bb0d (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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

KEYWORDS="~x86"

DESCRIPTION="An intuitive, GUI based Xen management tool covering all phases of the operational lifecycle."
HOMEPAGE="http://sourceforge.net/projects/xenman/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
IUSE="lvm2"

DEPEND=""
RDEPEND=">=app-emulation/xen-3.0.2
		>=app-emulation/xen-tools-3.0.2
		>=app-arch/rpm-4.4.6
	 	>=dev-python/pygtk-2.8.6
	 	>=x11-libs/vte-0.12.2
		lvm2? ( sys-fs/lvm2 )
		dev-lang/python"

pkg_setup() {
	if ! built_with_use app-arch/rpm python; then
		eerror "app-arch/rpm has to be built with python support."
		die "Missing python USE-flag for app-arch/rpm"
	fi
	if ! built_with_use x11-libs/vte python; then
		eerror "x11-libs/vte has to be built with python support."
		die "Missing python USE-flag for x11-libs/vte"
	fi
}

src_install() {
	insinto /usr/share/${PN}
	doins -r pixmaps/ xenman.glade

	newsbin xenman.py xenman

	dodoc changelog.txt README xenman.conf-*
}