summaryrefslogtreecommitdiff
blob: efdc968f6f5a9f7202e52ee78bd0b2c9b427de38 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtinst/virtinst-0.300.3-r1.ebuild,v 1.2 2008/09/29 12:36:32 dev-zero Exp $

inherit distutils eutils rpm

DESCRIPTION="Python modules for starting virtualized guest installations"
HOMEPAGE="http://virt-manager.et.redhat.com/"
SRC_URI="http://virt-manager.et.redhat.com/download/sources/${PN}/${P}.tar.gz
	mirror://gentoo/${PN}-patches-${PV}-1.tbz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=app-emulation/libvirt-0.2.1
	dev-python/urlgrabber"
DEPEND="${RDEPEND}"

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

	EPATCH_SOURCE="${WORKDIR}/patches"
	EPATCH_SUFFIX="patch"
	epatch
}

pkg_postinst() {
	distutils_pkg_postinst

	elog "Please select the following os-type/-variant if you want virtio_net and/or virtio_blk support:"
	elog "|  os   |     variant    |  virtio_net | virtio_blk |"
	elog "| linux |  gentoostable  |     yes     |     no     |"
	elog "| linux | gentoounstable |     yes     |     yes    |"
	elog "| linux |   ubuntuHardy  |     yes     |     no     |"
}