wok-4.x rev 10705

libgd: build /usr/bin/gdlib-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 28 12:40:01 2011 +0200 (2011-05-28)
parents 2b34a21e299d
children da3aa8fae023
files libgd/receipt
line diff
     1.1 --- a/libgd/receipt	Sat May 28 06:24:03 2011 +0000
     1.2 +++ b/libgd/receipt	Sat May 28 12:40:01 2011 +0200
     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  }