libvirt: set correct to dnsmasq, depend on ebtables and dnsmasq.
- Override configure test to guess dnsmaq path. - By default needs ebtables and dnsmasq, so add them to depends. Close #988 Close #989
This commit is contained in:
parent
20e5931794
commit
24905f75ce
|
@ -1,14 +1,15 @@
|
|||
# Template file for 'libvirt'
|
||||
pkgname=libvirt
|
||||
version=1.2.12
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
build_options="systemd"
|
||||
configure_args="--without-hal --with-storage-lvm --with-qemu-user=nobody
|
||||
--disable-static $(vopt_if systemd '--with-init-script=systemd')
|
||||
--with-qemu-group=nogroup --without-netcf --with-interface --sbindir=/usr/sbin
|
||||
ac_cv_path_MOUNT=/bin/mount ac_cv_path_UMOUNT=/bin/umount
|
||||
ac_cv_path_MKFS=/sbin/mkfs ac_cv_path_SHOWMOUNT=/sbin/showmount"
|
||||
ac_cv_path_MKFS=/sbin/mkfs ac_cv_path_SHOWMOUNT=/sbin/showmount
|
||||
ac_cv_path_DNSMASQ=/sbin/dnsmasq"
|
||||
short_desc="The virtualization API for controlling virtualization engines"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://libvirt.org"
|
||||
|
@ -22,6 +23,7 @@ makedepends="readline-devel>=6.3 libcap-ng-devel libnl3-devel attr-devel
|
|||
libparted-devel device-mapper-devel dbus-devel libudev-devel libblkid-devel
|
||||
libpciaccess-devel avahi-libs-devel polkit-devel yajl-devel
|
||||
python-devel libssh2-devel libcap-ng-devel fuse-devel"
|
||||
depends="ebtables dnsmasq"
|
||||
|
||||
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||
configure_args+=" --with-xen"
|
||||
|
|
Loading…
Reference in New Issue