wok diff pkg-config/receipt @ rev 10328

fsarchiver: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 22 00:55:31 2011 +0000 (2011-05-22)
parents d1768332cee0
children e1f5c569d201
line diff
     1.1 --- a/pkg-config/receipt	Sun May 08 09:01:58 2011 +0000
     1.2 +++ b/pkg-config/receipt	Sun May 22 00:55:31 2011 +0000
     1.3 @@ -16,7 +16,10 @@
     1.4  {
     1.5  	cd $src
     1.6  	patch -p1 < $stuff/autoconf-2.66.patch
     1.7 -	./configure && make && make install
     1.8 +	./configure \
     1.9 +		--program-prefix=$TOOLPREFIX \
    1.10 +		--build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
    1.11 +	make && make install
    1.12  }
    1.13  
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 @@ -25,4 +28,7 @@
    1.16  	mkdir -p $fs/usr/share
    1.17  	cp -a $_pkg/usr/bin $fs/usr
    1.18  	cp -a $_pkg/usr/share/aclocal $fs/usr/share
    1.19 +	# This is the default pkg-config so make a symling for package that dont
    1.20 +	# cross compile or search for /usr/bin/pkg-config.
    1.21 +	cd $fs/usr/bin && ln -s ${TOOLPREFIX}pkg-config pkg-config
    1.22  }