mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
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 changed files with 4 additions and 2 deletions
|
@ -1,14 +1,15 @@
|
||||||
# Template file for 'libvirt'
|
# Template file for 'libvirt'
|
||||||
pkgname=libvirt
|
pkgname=libvirt
|
||||||
version=1.2.12
|
version=1.2.12
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
build_options="systemd"
|
build_options="systemd"
|
||||||
configure_args="--without-hal --with-storage-lvm --with-qemu-user=nobody
|
configure_args="--without-hal --with-storage-lvm --with-qemu-user=nobody
|
||||||
--disable-static $(vopt_if systemd '--with-init-script=systemd')
|
--disable-static $(vopt_if systemd '--with-init-script=systemd')
|
||||||
--with-qemu-group=nogroup --without-netcf --with-interface --sbindir=/usr/sbin
|
--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_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"
|
short_desc="The virtualization API for controlling virtualization engines"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://libvirt.org"
|
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
|
libparted-devel device-mapper-devel dbus-devel libudev-devel libblkid-devel
|
||||||
libpciaccess-devel avahi-libs-devel polkit-devel yajl-devel
|
libpciaccess-devel avahi-libs-devel polkit-devel yajl-devel
|
||||||
python-devel libssh2-devel libcap-ng-devel fuse-devel"
|
python-devel libssh2-devel libcap-ng-devel fuse-devel"
|
||||||
|
depends="ebtables dnsmasq"
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||||
configure_args+=" --with-xen"
|
configure_args+=" --with-xen"
|
||||||
|
|
Loading…
Add table
Reference in a new issue