diff options
author | 2007-10-15 11:17:14 +0000 | |
---|---|---|
committer | 2007-10-15 11:17:14 +0000 | |
commit | f05cc3581fa0199d92f43fe9615961c419638db6 (patch) | |
tree | 4fa5363dc61df8bbe9037a2179622ff47f09b869 /app-emulation/libvirt/libvirt-0.3.3.ebuild | |
parent | (#189824) Add VNC widget for GTK+, based on the work of Jiri Tyr. This is a d... (diff) | |
download | historical-f05cc3581fa0199d92f43fe9615961c419638db6.tar.gz historical-f05cc3581fa0199d92f43fe9615961c419638db6.tar.bz2 historical-f05cc3581fa0199d92f43fe9615961c419638db6.zip |
Adds some new features like remote access and OpenVZ (although the latter may only be at the libvirt level so far).
Package-Manager: portage-2.1.3.13
Diffstat (limited to 'app-emulation/libvirt/libvirt-0.3.3.ebuild')
-rw-r--r-- | app-emulation/libvirt/libvirt-0.3.3.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app-emulation/libvirt/libvirt-0.3.3.ebuild b/app-emulation/libvirt/libvirt-0.3.3.ebuild new file mode 100644 index 000000000000..e3069a2cbe88 --- /dev/null +++ b/app-emulation/libvirt/libvirt-0.3.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.3.3.ebuild,v 1.1 2007/10/15 11:16:02 dberkholz Exp $ + +DESCRIPTION="C toolkit to manipulate virtual machines" +HOMEPAGE="http://www.libvirt.org/" +SRC_URI="http://libvirt.org/sources/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="qemu xen" + +DEPEND="sys-libs/readline + sys-libs/ncurses + dev-libs/libxml2 + qemu? ( app-emulation/qemu ) + xen? ( app-emulation/xen-tools ) + dev-lang/python + sys-fs/sysfsutils" + +pkg_setup() { + if ! use qemu && ! use xen; then + local msg="You must enable one of these USE flags: qemu xen" + eerror "$msg" + die "$msg" + fi +} + +src_compile() { + econf \ + $(use_with qemu) \ + $(use_with xen) \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR=${D} install || die + mv ${D}/usr/share/doc/{${PN}-python*,${P}/python} +} |