wok-next view libosinfo/receipt @ rev 21075

xorg-cf-files: typo
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 21 01:46:05 2018 +0200 (2018-12-21)
parents da18d4e8ec13
children 6f5739796e82
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="$PACKAGE-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 }