wok-next annotate libosinfo/receipt @ rev 20855
svgcleaner: up (0.9.5); add oxipng
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 26 15:41:27 2018 +0300 (2018-06-26) |
parents | |
children | d5aab818505e |
rev | line source |
---|---|
al@20684 | 1 # SliTaz package receipt v2. |
al@20684 | 2 |
al@20684 | 3 PACKAGE="libosinfo" |
al@20684 | 4 VERSION="1.1.0" |
al@20684 | 5 CATEGORY="libdevel" |
al@20684 | 6 SHORT_DESC="GObject based library API for managing information about operating \ |
al@20684 | 7 systems, hypervisors and the (virtual) hardware devices they can support" |
al@20684 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@20684 | 9 LICENSE="GPL2" |
al@20684 | 10 WEB_SITE="https://libosinfo.org/" |
al@20684 | 11 |
al@20684 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20684 | 13 WGET_URL="https://releases.pagure.org/libosinfo/$TARBALL" |
al@20684 | 14 |
al@20684 | 15 BUILD_DEPENDS="intltool libxslt-dev libsoup-dev gtk-doc check-dev \ |
al@20684 | 16 gobject-introspection-dev vala locale-en-base usbids pciids" |
al@20684 | 17 SPLIT="libosinfo-dev" |
al@20684 | 18 |
al@20684 | 19 compile_rules() { |
al@20684 | 20 mkdir -p /usr/lib/locale |
al@20684 | 21 localedef -i 'en_US' -c -f 'UTF-8' /usr/lib/locale/en_US.UTF-8 |
al@20684 | 22 |
al@20684 | 23 ./configure \ |
al@20684 | 24 --with-usb-ids-path=/usr/share/hwdata/usb.ids \ |
al@20684 | 25 --with-pci-ids-path=/usr/share/hwdata/pci.ids \ |
al@20684 | 26 --enable-gtk-doc \ |
al@20684 | 27 $CONFIGURE_ARGS && |
al@20684 | 28 make && |
al@20684 | 29 make install |
al@20684 | 30 } |
al@20684 | 31 |
al@20684 | 32 genpkg_rules() { |
al@20684 | 33 case $PACKAGE in |
al@20684 | 34 libosinfo) |
al@20684 | 35 copy @std |
al@20684 | 36 DEPENDS="glib libxml2 libxslt" |
al@20684 | 37 ;; |
al@20684 | 38 *-dev) |
al@20684 | 39 copy @dev |
al@20684 | 40 DEPENDS="libosinfo glib-dev" |
al@20684 | 41 ;; |
al@20684 | 42 esac |
al@20684 | 43 } |