| 1 | # Copyright 1999-2013 Gentoo Foundation |
1 | # Copyright 1999-2013 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/Attic/libvirt-1.0.0.ebuild,v 1.5 2013/01/24 04:18:47 cardoe Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/Attic/libvirt-1.0.0.ebuild,v 1.6 2013/01/27 00:31:57 cardoe Exp $ |
| 4 | |
4 | |
| 5 | EAPI=4 |
5 | EAPI=4 |
| 6 | |
6 | |
| 7 | #BACKPORTS=85e8c146 |
7 | #BACKPORTS=85e8c146 |
| 8 | AUTOTOOLIZE=yes |
8 | AUTOTOOLIZE=yes |
| … | |
… | |
| 32 | |
32 | |
| 33 | DESCRIPTION="C toolkit to manipulate virtual machines" |
33 | DESCRIPTION="C toolkit to manipulate virtual machines" |
| 34 | HOMEPAGE="http://www.libvirt.org/" |
34 | HOMEPAGE="http://www.libvirt.org/" |
| 35 | LICENSE="LGPL-2.1" |
35 | LICENSE="LGPL-2.1" |
| 36 | SLOT="0" |
36 | SLOT="0" |
| 37 | IUSE="audit avahi +caps debug firewalld iscsi +libvirtd lvm +lxc +macvtap nfs \ |
37 | IUSE="audit avahi +caps firewalld iscsi +libvirtd lvm +lxc +macvtap nfs \ |
| 38 | nls numa openvz parted pcap phyp policykit python qemu rbd sasl \ |
38 | nls numa openvz parted pcap phyp policykit python qemu rbd sasl \ |
| 39 | selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc" |
39 | selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc" |
| 40 | REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) ) |
40 | REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) ) |
| 41 | lxc? ( caps libvirtd ) |
41 | lxc? ( caps libvirtd ) |
| 42 | openvz? ( libvirtd ) |
42 | openvz? ( libvirtd ) |
| … | |
… | |
| 212 | } |
212 | } |
| 213 | |
213 | |
| 214 | src_configure() { |
214 | src_configure() { |
| 215 | local myconf="" |
215 | local myconf="" |
| 216 | |
216 | |
| 217 | myconf="${myconf} $(use_enable debug)" |
|
|
| 218 | |
|
|
| 219 | ## enable/disable daemon, otherwise client only utils |
217 | ## enable/disable daemon, otherwise client only utils |
| 220 | myconf="${myconf} $(use_with libvirtd)" |
218 | myconf="${myconf} $(use_with libvirtd)" |
| 221 | |
219 | |
| 222 | ## enable/disable the daemon using avahi to find VMs |
220 | ## enable/disable the daemon using avahi to find VMs |
| 223 | myconf="${myconf} $(use_with avahi)" |
221 | myconf="${myconf} $(use_with avahi)" |