wok-next annotate libvirt-glib/receipt @ rev 20809
backup-manager: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 13 13:30:57 2018 +0200 (2018-06-13) |
parents | |
children | d5aab818505e |
rev | line source |
---|---|
al@20685 | 1 # SliTaz package receipt v2. |
al@20685 | 2 |
al@20685 | 3 PACKAGE="libvirt-glib" |
al@20685 | 4 VERSION="1.0.0" |
al@20685 | 5 CATEGORY="libs" |
al@20685 | 6 SHORT_DESC="GLib bindings for libvirt" |
al@20685 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20685 | 8 LICENSE="LGPL2.1" |
al@20685 | 9 WEB_SITE="https://libvirt.org/" |
al@20685 | 10 |
al@20685 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20685 | 12 WGET_URL="https://libvirt.org/sources/glib/$TARBALL" |
al@20685 | 13 |
al@20685 | 14 BUILD_DEPENDS="libvirt-dev glib-dev libxml2-dev intltool gtk-doc \ |
al@20685 | 15 gobject-introspection-dev vala" |
al@20685 | 16 SPLIT="libvirt-glib-dev" |
al@20685 | 17 |
al@20685 | 18 compile_rules() { |
al@20685 | 19 ./configure \ |
al@20685 | 20 --disable-static \ |
al@20685 | 21 $CONFIGURE_ARGS && |
al@20685 | 22 fix libtool && |
al@20685 | 23 make -j1 && |
al@20685 | 24 make install |
al@20685 | 25 } |
al@20685 | 26 |
al@20685 | 27 genpkg_rules() { |
al@20685 | 28 case $PACKAGE in |
al@20685 | 29 libvirt-glib) |
al@20685 | 30 copy @std |
al@20685 | 31 DEPENDS="glib libvirt libxml2" |
al@20685 | 32 ;; |
al@20685 | 33 *-dev) |
al@20685 | 34 copy @dev |
al@20685 | 35 DEPENDS="libvirt-glib glib-dev libvirt-dev libxml2-dev" |
al@20685 | 36 ;; |
al@20685 | 37 esac |
al@20685 | 38 } |