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