summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2007-06-10 05:56:29 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2007-06-10 05:56:29 +0000
commitd909fa0a565dc8380ddda4d47b7dea1d9603bfb0 (patch)
tree0bc28132dd020a456f60349372bdaaabc068cba0 /app-emulation/libvirt
parentBumping to -r1 with addition of fontconfig file. (diff)
downloadgentoo-2-d909fa0a565dc8380ddda4d47b7dea1d9603bfb0.tar.gz
gentoo-2-d909fa0a565dc8380ddda4d47b7dea1d9603bfb0.tar.bz2
gentoo-2-d909fa0a565dc8380ddda4d47b7dea1d9603bfb0.zip
Bump to a current version. A major feature added in 0.2.x is support for qemu/kvm.
(Portage version: 2.1.2.7)
Diffstat (limited to 'app-emulation/libvirt')
-rw-r--r--app-emulation/libvirt/ChangeLog11
-rw-r--r--app-emulation/libvirt/files/digest-libvirt-0.2.33
-rw-r--r--app-emulation/libvirt/libvirt-0.2.3.ebuild41
3 files changed, 53 insertions, 2 deletions
diff --git a/app-emulation/libvirt/ChangeLog b/app-emulation/libvirt/ChangeLog
index 9b33559f2649..841dbc407393 100644
--- a/app-emulation/libvirt/ChangeLog
+++ b/app-emulation/libvirt/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-emulation/libvirt
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v 1.5 2006/11/09 05:58:59 aross Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v 1.6 2007/06/10 05:56:29 dberkholz Exp $
+
+*libvirt-0.2.3 (10 Jun 2007)
+
+ 10 Jun 2007; Donnie Berkholz <dberkholz@gentoo.org>;
+ +libvirt-0.2.3.ebuild:
+ Bump to a current version. A major feature added in 0.2.x is support for
+ qemu/kvm.
09 Nov 2006; Andrew Ross <aross@gentoo.org> metadata.xml:
Add package to xen herd, with maintainer's consent.
diff --git a/app-emulation/libvirt/files/digest-libvirt-0.2.3 b/app-emulation/libvirt/files/digest-libvirt-0.2.3
new file mode 100644
index 000000000000..0d3909c86b89
--- /dev/null
+++ b/app-emulation/libvirt/files/digest-libvirt-0.2.3
@@ -0,0 +1,3 @@
+MD5 3b9e192de1777c8ec801d16cbf1c7819 libvirt-0.2.3.tar.gz 2099985
+RMD160 2556ca8aa7e855fb90f13d86c62ca7313e7345e7 libvirt-0.2.3.tar.gz 2099985
+SHA256 eb96733fec2c240495f4493a525f39bde049ae3452c6501f87fd3068eedea909 libvirt-0.2.3.tar.gz 2099985
diff --git a/app-emulation/libvirt/libvirt-0.2.3.ebuild b/app-emulation/libvirt/libvirt-0.2.3.ebuild
new file mode 100644
index 000000000000..3d2b74048720
--- /dev/null
+++ b/app-emulation/libvirt/libvirt-0.2.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.2.3.ebuild,v 1.1 2007/06/10 05:56:29 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}
+}