wok-6.x diff libtool/receipt @ rev 9232

Try to fix get-linux-source
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Mar 12 04:18:35 2011 +0100 (2011-03-12)
parents 38286698e49d
children ac4274a26d94
line diff
     1.1 --- a/libtool/receipt	Thu Jan 27 00:20:50 2011 +0100
     1.2 +++ b/libtool/receipt	Sat Mar 12 04:18:35 2011 +0100
     1.3 @@ -5,7 +5,7 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="The GNU Portable Library Tool."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="automake autoconf"
     1.8 +DEPENDS="libltdl automake autoconf"
     1.9  BUILD_DEPENDS="automake autoconf"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://www.gnu.org/software/libtool/"
    1.12 @@ -15,16 +15,19 @@
    1.13  compile_rules()
    1.14  {
    1.15  	cd $src
    1.16 -	./configure && make && make install
    1.17 +	./configure --prefix=/usr \
    1.18 +		--enable-shared && make && make DESTDIR=$PWD/_pkg install 
    1.19  }
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -	mkdir -p $fs/usr/share
    1.25 -	cp -a $_pkg/usr/bin $fs/usr
    1.26 -	cp -a $_pkg/usr/lib $fs/usr
    1.27 +	mkdir -p $fs/usr \
    1.28 +		$fs/usr/share $fs/usr/lib
    1.29 +
    1.30 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.31  	cp -a $_pkg/usr/include $fs/usr
    1.32  	cp -a $_pkg/usr/share/aclocal $fs/usr/share
    1.33  	cp -a $_pkg/usr/share/libtool $fs/usr/share
    1.34 +	cp -a $_pkg/usr/bin $fs/usr
    1.35  }