wok-next diff libosinfo/receipt @ rev 20853
Up xgalaga++; fix build: vzctl, vzquota, w3m
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 24 19:03:37 2018 +0300 (2018-06-24) |
parents | |
children | d5aab818505e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libosinfo/receipt Sun Jun 24 19:03:37 2018 +0300 1.3 @@ -0,0 +1,43 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="libosinfo" 1.7 +VERSION="1.1.0" 1.8 +CATEGORY="libdevel" 1.9 +SHORT_DESC="GObject based library API for managing information about operating \ 1.10 +systems, hypervisors and the (virtual) hardware devices they can support" 1.11 +MAINTAINER="al.bobylev@gmail.com" 1.12 +LICENSE="GPL2" 1.13 +WEB_SITE="https://libosinfo.org/" 1.14 + 1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 +WGET_URL="https://releases.pagure.org/libosinfo/$TARBALL" 1.17 + 1.18 +BUILD_DEPENDS="intltool libxslt-dev libsoup-dev gtk-doc check-dev \ 1.19 +gobject-introspection-dev vala locale-en-base usbids pciids" 1.20 +SPLIT="libosinfo-dev" 1.21 + 1.22 +compile_rules() { 1.23 + mkdir -p /usr/lib/locale 1.24 + localedef -i 'en_US' -c -f 'UTF-8' /usr/lib/locale/en_US.UTF-8 1.25 + 1.26 + ./configure \ 1.27 + --with-usb-ids-path=/usr/share/hwdata/usb.ids \ 1.28 + --with-pci-ids-path=/usr/share/hwdata/pci.ids \ 1.29 + --enable-gtk-doc \ 1.30 + $CONFIGURE_ARGS && 1.31 + make && 1.32 + make install 1.33 +} 1.34 + 1.35 +genpkg_rules() { 1.36 + case $PACKAGE in 1.37 + libosinfo) 1.38 + copy @std 1.39 + DEPENDS="glib libxml2 libxslt" 1.40 + ;; 1.41 + *-dev) 1.42 + copy @dev 1.43 + DEPENDS="libosinfo glib-dev" 1.44 + ;; 1.45 + esac 1.46 +}