# HG changeset patch # User Eric Joseph-Alexandre # Date 1297980260 -3600 # Node ID ac1a2a3338ddefdee5c75135cf681d18e1c29213 # Parent bfb04d3fd311ae758bcf9f6e17a4622b5101903b improve receipt diff -r bfb04d3fd311 -r ac1a2a3338dd libtool/receipt --- a/libtool/receipt Thu Feb 17 22:52:05 2011 +0100 +++ b/libtool/receipt Thu Feb 17 23:04:20 2011 +0100 @@ -5,7 +5,7 @@ CATEGORY="development" SHORT_DESC="The GNU Portable Library Tool." MAINTAINER="pankso@slitaz.org" -DEPENDS="automake autoconf" +DEPENDS="libltdl automake autoconf" BUILD_DEPENDS="automake autoconf" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnu.org/software/libtool/" @@ -15,16 +15,19 @@ compile_rules() { cd $src - ./configure && make && make install + ./configure --prefix=/usr \ + --enable-shared && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share - cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/lib $fs/usr + mkdir -p $fs/usr \ + $fs/usr/share $fs/usr/lib + + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib cp -a $_pkg/usr/include $fs/usr cp -a $_pkg/usr/share/aclocal $fs/usr/share cp -a $_pkg/usr/share/libtool $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr }