wok rev 8695
improve receipt
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Feb 17 23:04:20 2011 +0100 (2011-02-17) |
parents | bfb04d3fd311 |
children | c11845afb313 |
files | libtool/receipt |
line diff
1.1 --- a/libtool/receipt Thu Feb 17 22:52:05 2011 +0100 1.2 +++ b/libtool/receipt Thu Feb 17 23:04:20 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 }