wok-next annotate libtool/receipt @ rev 12546

Up: libtool and make ntop build a bit more :-/ (busybox install bug now)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 26 14:13:34 2012 +0200 (2012-04-26)
parents ac4274a26d94
children 6eff489aa802
rev   line source
pankso@30 1 # SliTaz package receipt.
pankso@30 2
pankso@30 3 PACKAGE="libtool"
pankso@12546 4 VERSION="2.4.2"
pankso@211 5 CATEGORY="development"
pankso@30 6 SHORT_DESC="The GNU Portable Library Tool."
pankso@30 7 MAINTAINER="pankso@slitaz.org"
pankso@30 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@30 9 WEB_SITE="http://www.gnu.org/software/libtool/"
pankso@30 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@30 11
pankso@12546 12 DEPENDS="libltdl automake autoconf"
pankso@12546 13 BUILD_DEPENDS="automake autoconf"
pankso@12546 14
pankso@30 15 # Rules to configure and make the package.
pankso@30 16 compile_rules()
pankso@30 17 {
pankso@30 18 cd $src
pankso@12546 19 ./configure \
pankso@12546 20 --enable-shared \
pankso@12546 21 $CONFIGURE_ARGS &&
pankso@12546 22 make && make install
pankso@30 23 }
pankso@30 24
pankso@30 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@30 26 genpkg_rules()
pankso@30 27 {
erjo@8695 28 mkdir -p $fs/usr \
erjo@8695 29 $fs/usr/share $fs/usr/lib
erjo@8695 30
pankso@12546 31 cp -a $install/usr/lib/*.*a $fs/usr/lib
pankso@12546 32 cp -a $install/usr/include $fs/usr
pankso@12546 33 cp -a $install/usr/share/aclocal $fs/usr/share
pankso@12546 34 cp -a $install/usr/share/libtool $fs/usr/share
pankso@12546 35 cp -a $install/usr/bin $fs/usr
pankso@30 36 }