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