wok diff libgd/receipt @ rev 11879

quodlibet: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 28 08:39:45 2012 +0100 (2012-02-28)
parents a13c13eae41c
children 16c18225789a
line diff
     1.1 --- a/libgd/receipt	Wed May 25 18:31:49 2011 +0200
     1.2 +++ b/libgd/receipt	Tue Feb 28 08:39:45 2012 +0100
     1.3 @@ -18,7 +18,17 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	cmake . && make && make DESTDIR=$DESTDIR install
     1.8 +	cmake . && make && make DESTDIR=$DESTDIR install || return 1
     1.9 +	cd src
    1.10 +	ln -sf ../config ../test .
    1.11 +	./bootstrap.sh
    1.12 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.13 +		--mandir=/usr/share/man \
    1.14 +		$CONFIGURE_ARGS
    1.15 +	make -C config gdlib-config
    1.16 +	cp config/gdlib-config $DESTDIR/usr/local/bin
    1.17 +	chmod +x $DESTDIR/usr/local/bin/gdlib-config
    1.18 +	cd ..
    1.19  }
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22 @@ -26,6 +36,6 @@
    1.23  {
    1.24  	mkdir -p $fs/usr/lib
    1.25  	cp -a $_pkg/usr/local/bin $fs/usr
    1.26 -	chmod +x $_pkg/usr/bin/gdlib-config
    1.27 +	chmod +x $fs/usr/bin/gdlib-config
    1.28  	cp -a $_pkg/usr/local/lib/*.so* $fs/usr/lib
    1.29  }