wok-next view libvirt/receipt @ rev 21159
updated diffutils (3.6 -> 3.7)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 20 08:46:59 2019 +0100 (2019-02-20) |
parents | d5aab818505e |
children | ac1c22be7622 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libvirt"
4 VERSION="4.3.0"
5 CATEGORY="libs"
6 SHORT_DESC="API for controlling virtualization engines (openvz, kvm, qemu, \
7 virtualbox, xen, etc.)"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://libvirt.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://libvirt.org/sources/$TARBALL"
15 BUILD_DEPENDS="libx11-dev acl-dev attr-dev util-linux-blkid-dev curl-dev \
16 dbus-dev libdevmapper-dev fuse2-dev glusterfs-dev gnutls-dev netcf-dev \
17 libnl-dev parted-dev libpcap-dev libssh-dev libxml2-dev gettext-dev \
18 libpciaccess-dev libsasl cyrus-sasl-dev libtirpc-dev yajl-dev \
19 rpcsvc-proto lvm2-dev open-iscsi"
20 SPLIT="$PACKAGE-dev"
22 compile_rules() {
23 export LDFLAGS="$LDFLAGS -lX11"
25 ./configure \
26 --prefix=/usr \
27 --libexec=/usr/lib/libvirt \
28 --sbindir=/usr/bin \
29 --with-storage-lvm \
30 --with-udev \
31 --without-hal \
32 --disable-static \
33 --with-storage-gluster \
34 --with-qemu-user=nobody \
35 --with-qemu-group=kvm \
36 --with-netcf \
37 --with-interface \
38 --with-lxc \
39 --with-storage-iscsi \
40 --with-storage-disk \
41 $CONFIGURE_ARGS &&
42 fix libtool &&
43 make &&
44 make install
45 }
47 genpkg_rules() {
48 case $PACKAGE in
49 libvirt)
50 copy @std
51 DEPENDS="acl dbus eudev fuse2 glusterfs libcurl libdevmapper \
52 libgnutls libnl libpcap libsasl libssh libssh2 libtirpc libxml2 \
53 netcf parted util-linux-blkid libpciaccess yajl"
54 CONFIG_FILES="/etc/libvirt/"
55 ;;
56 *-dev)
57 copy @dev
58 ;;
59 esac
60 }