wok-next diff gobject-introspection/receipt @ rev 21093

garcon, libacpi, mypaint: make shared libs executables to correct determine architecture (no "noarch")
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 29 17:03:13 2018 +0200 (2018-12-29)
parents d5aab818505e
children e19ff076dc63
line diff
     1.1 --- a/gobject-introspection/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/gobject-introspection/receipt	Sat Dec 29 17:03:13 2018 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="gobject-introspection"
     1.7 -VERSION="1.52.1"
     1.8 +VERSION="1.58.2"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Introspection system for GObject-based libraries"
    1.11  MAINTAINER="devel@slitaz.org"
    1.12 @@ -12,9 +12,16 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.14  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.15  
    1.16 -BUILD_DEPENDS="glib-dev cairo-dev gtk-doc python-dev util-linux-mount-dev openssl-dev"
    1.17 +BUILD_DEPENDS="glib-dev cairo-dev gtk-doc python-dev util-linux-mount-dev \
    1.18 +openssl-dev libffi-dev"
    1.19  SPLIT="$PACKAGE-dev"
    1.20  
    1.21 +COPY_std="@std *.typelib"
    1.22 +COPY_dev="@std @dev @rm"
    1.23 +
    1.24 +DEPENDS_std="glib libffi python"
    1.25 +DEPENDS_dev="gobject-introspection glib-dev libffi-dev"
    1.26 +
    1.27  compile_rules() {
    1.28  	./configure \
    1.29  		--disable-static \
    1.30 @@ -23,17 +30,3 @@
    1.31  	make &&
    1.32  	make install
    1.33  }
    1.34 -
    1.35 -genpkg_rules() {
    1.36 -	case $PACKAGE in
    1.37 -		gobject-introspection)
    1.38 -			copy @std *.typelib
    1.39 -			rm -r $fs/usr/share
    1.40 -			DEPENDS="glib libffi python"
    1.41 -			;;
    1.42 -		*-dev)
    1.43 -			copy @std @dev @rm
    1.44 -			DEPENDS="gobject-introspection glib-dev libffi-dev"
    1.45 -			;;
    1.46 -	esac
    1.47 -}