wok-next view libvirt/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents
children d5aab818505e
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="xorg-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 \
18 xorg-libpciaccess-dev libsasl cyrus-sasl-dev libtirpc-dev yajl-dev \
19 rpcsvc-proto lvm2-dev open-iscsi"
20 SPLIT="libvirt-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 xorg-libpciaccess yajl"
54 CONFIG_FILES="/etc/libvirt/"
55 ;;
56 *-dev)
57 copy @dev
58 ;;
59 esac
60 }