wok diff glib/receipt @ rev 12471

Up: glib (2.32.1) Ok no move to gtk3
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 23 12:51:42 2012 +0200 (2012-04-23)
parents 1af880ebf6dc
children b6b11a776057
line diff
     1.1 --- a/glib/receipt	Sun Jan 29 16:38:33 2012 -0500
     1.2 +++ b/glib/receipt	Mon Apr 23 12:51:42 2012 +0200
     1.3 @@ -1,24 +1,25 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="glib"
     1.7 -VERSION="2.30.2"
     1.8 +VERSION="2.32.1"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="C routines."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.14  WEB_SITE="http://www.gtk.org/"
    1.15  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
    1.16  
    1.17 -DEPENDS="libffi"
    1.18 -BUILD_DEPENDS="libffi-dev gettext zlib-dev perl python python-dev"
    1.19 +DEPENDS="pcre libffi libxml2 elfutils"
    1.20 +BUILD_DEPENDS="pcre-dev libffi-dev gettext zlib-dev perl python python-dev \
    1.21 +elfutils-dev libxml2-dev libxml2-tools"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26  	cd $src
    1.27 -	# Fails on cross compile: use native i468 --build toolchain.
    1.28  	./configure --sysconfdir=/etc \
    1.29 -		--build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
    1.30 +		--with-pcre=system \
    1.31 +		$CONFIGURE_ARGS &&
    1.32  	make && make install
    1.33  }
    1.34  
    1.35 @@ -28,6 +29,19 @@
    1.36  	mkdir -p $fs/usr/lib
    1.37  	cp -a $install/usr/bin $fs/usr
    1.38  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.39 -	# split libgio
    1.40 +	
    1.41 +	# Split gio --> libgio
    1.42  	rm $fs/usr/lib/libgio*
    1.43 +	
    1.44 +	# Python codegen, tester, compile, Perl mkenums --> glib-dev
    1.45 +	for bin in gdbus-codegen gtester* glib-mkenums glib-compile-*
    1.46 +	do
    1.47 +		rm $fs/usr/bin/$bin
    1.48 +	done
    1.49 +	
    1.50 +	# Cook packages that want glib.
    1.51 +	for w in libgio libgio-dev
    1.52 +	do
    1.53 +		[ -x "/usr/bin/cook" ] && cook $w
    1.54 +	done
    1.55  }