wok-next diff glib/receipt @ rev 21079

emacs: update dependencies
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 22 14:46:21 2018 +0200 (2018-12-22)
parents d5aab818505e
children 7c5d038be95b
line diff
     1.1 --- a/glib/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/glib/receipt	Sat Dec 22 14:46:21 2018 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="glib"
     1.7 -VERSION="2.56.1"
     1.8 +VERSION="2.58.1"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="C routines"
    1.11  MAINTAINER="devel@slitaz.org"
    1.12 @@ -13,46 +13,29 @@
    1.13  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.14  
    1.15  BUILD_DEPENDS="automake libtool zlib-dev libffi-dev gettext-dev \
    1.16 -util-linux-mount-dev pcre-dev glib-dev   elfutils-dev gtk-doc libxslt \
    1.17 -docbook-xsl dbus-dev"
    1.18 -SPLIT="$PACKAGE-static $PACKAGE-dev"
    1.19 +util-linux-mount-dev pcre-dev libxslt docbook-xsl   elfutils-dev"
    1.20 +SPLIT="$PACKAGE-static $PACKAGE-dev $PACKAGE"
    1.21  
    1.22 -# glib require glib to be built.
    1.23 -# And if glib failed to build and not present on the mirror, you will catch
    1.24 -# into the dead loop. Be careful!
    1.25 +COPY_static="*.a"
    1.26 +COPY_dev="gdbus-codegen gobject-query bin/gresource bin/gtester* \
    1.27 +bin/glib-gettextize bin/glib-mkenums gdb/ gettext/ glib-2.0/ @dev @rm"
    1.28 +
    1.29 +DEPENDS_std="libffi libpcre util-linux-mount zlib"
    1.30 +DEPENDS_dev="glib elfutils libffi libpcre pcre-dev python util-linux-mount-dev \
    1.31 +zlib-dev   perl"
    1.32 +
    1.33 +CAT_static="development|static libraries"
    1.34  
    1.35  compile_rules() {
    1.36  	# --enable-static: desktop-file-validate-static require such lib
    1.37 -	NOCONFIGURE=1 ./autogen.sh &&
    1.38 -	./configure \
    1.39 +	./autogen.sh \
    1.40  		--enable-debug=no \
    1.41  		--enable-static \
    1.42 +		--disable-selinux \
    1.43  		--disable-fam \
    1.44 +		--enable-man \
    1.45  		$CONFIGURE_ARGS &&
    1.46  	fix libtool &&
    1.47  	make &&
    1.48  	make install
    1.49  }
    1.50 -
    1.51 -genpkg_rules() {
    1.52 -	case $PACKAGE in
    1.53 -		glib)
    1.54 -			copy @std
    1.55 -			# Python codegen, tester, Perl mkenums --> glib-dev
    1.56 -			cd $fs/usr/bin
    1.57 -			rm gdbus-codegen gtester* glib-mkenums glib-gettextize
    1.58 -			rm -r $fs/usr/share
    1.59 -			DEPENDS="elfutils libffi libpcre util-linux-mount zlib"
    1.60 -			;;
    1.61 -		*-static)
    1.62 -			copy *.a
    1.63 -			DEPENDS=" "
    1.64 -			CAT="development|static libraries"
    1.65 -			;;
    1.66 -		*-dev)
    1.67 -			copy @std @dev @rm
    1.68 -			DEPENDS="glib libffi-dev pcre-dev python util-linux-mount-dev \
    1.69 -			zlib-dev   perl"
    1.70 -			;;
    1.71 -	esac
    1.72 -}