wok rev 10350

gdk-pixbuf: fix build (no cross)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 22 22:16:30 2011 +0200 (2011-05-22)
parents 792e9cc73756
children 53b83e72d907
files gdk-pixbuf/receipt
line diff
     1.1 --- a/gdk-pixbuf/receipt	Sun May 22 22:08:19 2011 +0200
     1.2 +++ b/gdk-pixbuf/receipt	Sun May 22 22:16:30 2011 +0200
     1.3 @@ -5,24 +5,25 @@
     1.4  CATEGORY="x-window"
     1.5  SHORT_DESC="An image loading library for gtk2"
     1.6  MAINTAINER="slaxemulator@gmail.com"
     1.7 -DEPENDS="glib libgio libpng tiff jpeg zlib xorg-libX11 shared-mime-info"
     1.8 -BUILD_DEPENDS="$DEPENDS libgio-dev glib-dev jbigkit libpng-dev tiff-dev jpeg-dev xorg-libX11-dev zlib-dev pkg-config gobject-introspection-dev"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.10  WEB_SITE="http://www.gtk.org/"
    1.11  WGET_URL="http://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.12 +CROSS="bug: can not run test program"
    1.13 +
    1.14 +DEPENDS="glib libgio libpng tiff jpeg zlib xorg-libX11 shared-mime-info"
    1.15 +BUILD_DEPENDS="libgio-dev glib-dev jbigkit libpng-dev tiff-dev jpeg-dev \
    1.16 +xorg-libX11-dev zlib-dev pkg-config gobject-introspection-dev"
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21  	cd $src
    1.22  	./configure \
    1.23 -		--prefix=/usr \
    1.24 -		--infodir=/usr/share/info \
    1.25 -		--mandir=/usr/share/man \
    1.26 +		--disable-glibtest \
    1.27  		--without-libjasper \
    1.28  		--with-included-loaders=bmp,gif,jpeg,pcx,png,xpm  \
    1.29 -		$CONFIGURE_ARGS &&
    1.30 -	make && make DESTDIR=$PWD/_pkg install
    1.31 +		--build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
    1.32 +	make && make install
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 @@ -30,7 +31,8 @@
    1.37  {
    1.38  	mkdir -p $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
    1.39  	cp -a $_pkg/usr/bin $fs/usr
    1.40 -	cp -a $_pkg/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.so $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
    1.41 +	cp -a $_pkg/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.so \
    1.42 +		$fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
    1.43  	cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
    1.44  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.45  }