wok-next diff libosinfo/receipt @ rev 21715

Up cookutils (1146)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 28 07:53:22 2020 +0000 (2020-07-28)
parents d5aab818505e
children
line diff
     1.1 --- a/libosinfo/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/libosinfo/receipt	Tue Jul 28 07:53:22 2020 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="libosinfo"
     1.7 -VERSION="1.1.0"
     1.8 +VERSION="1.2.0"
     1.9  CATEGORY="libdevel"
    1.10  SHORT_DESC="GObject based library API for managing information about operating \
    1.11  systems, hypervisors and the (virtual) hardware devices they can support"
    1.12 @@ -13,31 +13,21 @@
    1.13  WGET_URL="https://releases.pagure.org/libosinfo/$TARBALL"
    1.14  
    1.15  BUILD_DEPENDS="intltool libxslt-dev libsoup-dev gtk-doc check-dev \
    1.16 -gobject-introspection-dev vala locale-en-base usbids pciids"
    1.17 +gobject-introspection-dev vala usbids pciids"
    1.18  SPLIT="$PACKAGE-dev"
    1.19  
    1.20 +DEPENDS_std="glib libxml2 libxslt"
    1.21 +DEPENDS_dev="libosinfo glib-dev"
    1.22 +
    1.23  compile_rules() {
    1.24 -	mkdir -p /usr/lib/locale
    1.25 -	localedef -i 'en_US' -c -f 'UTF-8' /usr/lib/locale/en_US.UTF-8
    1.26 +	fix utf-8
    1.27  
    1.28  	./configure \
    1.29  		--with-usb-ids-path=/usr/share/hwdata/usb.ids \
    1.30  		--with-pci-ids-path=/usr/share/hwdata/pci.ids \
    1.31  		--enable-gtk-doc \
    1.32  		$CONFIGURE_ARGS &&
    1.33 +	fix libtool &&
    1.34  	make &&
    1.35  	make install
    1.36  }
    1.37 -
    1.38 -genpkg_rules() {
    1.39 -	case $PACKAGE in
    1.40 -		libosinfo)
    1.41 -			copy @std
    1.42 -			DEPENDS="glib libxml2 libxslt"
    1.43 -			;;
    1.44 -		*-dev)
    1.45 -			copy @dev
    1.46 -			DEPENDS="libosinfo glib-dev"
    1.47 -			;;
    1.48 -	esac
    1.49 -}