wok-next view libvirt/receipt @ rev 21467
updated tahoe-lafs (1.10.1 -> 1.13.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 12 17:47:20 2020 +0100 (2020-05-12) |
parents | 5669e8b3be70 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libvirt"
4 VERSION="5.10.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="acl-dev attr-dev curl-dev cyrus-sasl-dev dbus-dev fuse2-dev
16 gettext-dev glusterfs-dev gnutls-dev libdevmapper-dev libnl-dev
17 libpcap-dev libpciaccess-dev libsasl libssh-dev libtirpc-dev
18 libx11-dev libxml2-dev lvm2-dev netcf-dev open-iscsi parted-dev
19 perl rpcsvc-proto util-linux-blkid-dev yajl-dev"
20 SPLIT="$PACKAGE-dev"
22 compile_rules()
23 {
24 export LDFLAGS="$LDFLAGS -lX11"
26 ./configure \
27 --prefix=/usr \
28 --libexec=/usr/lib/libvirt \
29 --sbindir=/usr/bin \
30 --with-storage-lvm \
31 --with-udev \
32 --without-hal \
33 --disable-static \
34 --with-storage-gluster \
35 --with-qemu-user=nobody \
36 --with-qemu-group=kvm \
37 --with-netcf \
38 --with-interface \
39 --with-lxc \
40 --with-storage-iscsi \
41 --with-storage-disk \
42 $CONFIGURE_ARGS &&
43 fix libtool &&
44 make &&
45 make install
46 }
48 genpkg_rules()
49 {
50 case $PACKAGE in
51 libvirt)
52 copy @std
53 DEPENDS="acl dbus eudev fuse2 glusterfs libcurl libdevmapper
54 libgnutls libnl libpcap libpciaccess libsasl libssh
55 libssh2 libtirpc libxml2 netcf parted util-linux-blkid
56 yajl"
57 CONFIG_FILES="/etc/libvirt/"
58 ;;
59 *-dev)
60 copy @dev
61 ;;
62 esac
63 }