wok annotate libtool/receipt @ rev 10662
tor: fix receipt (also need CONFIGURE_ARGS at first)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 27 08:29:16 2011 +0200 (2011-05-27) |
parents | ac1a2a3338dd |
children | bf6520485b0b |
rev | line source |
---|---|
pankso@30 | 1 # SliTaz package receipt. |
pankso@30 | 2 |
pankso@30 | 3 PACKAGE="libtool" |
slaxemulator@6544 | 4 VERSION="2.4" |
pankso@211 | 5 CATEGORY="development" |
pankso@30 | 6 SHORT_DESC="The GNU Portable Library Tool." |
pankso@30 | 7 MAINTAINER="pankso@slitaz.org" |
erjo@8695 | 8 DEPENDS="libltdl automake autoconf" |
gokhlayeh@7900 | 9 BUILD_DEPENDS="automake autoconf" |
pankso@30 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@30 | 11 WEB_SITE="http://www.gnu.org/software/libtool/" |
pankso@30 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@30 | 13 |
pankso@30 | 14 # Rules to configure and make the package. |
pankso@30 | 15 compile_rules() |
pankso@30 | 16 { |
pankso@30 | 17 cd $src |
pankso@10033 | 18 ./configure --enable-shared $CONFIGURE_ARGS && |
pankso@10033 | 19 make && make install |
pankso@30 | 20 } |
pankso@30 | 21 |
pankso@30 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@30 | 23 genpkg_rules() |
pankso@30 | 24 { |
erjo@8695 | 25 mkdir -p $fs/usr \ |
erjo@8695 | 26 $fs/usr/share $fs/usr/lib |
erjo@8695 | 27 |
erjo@8695 | 28 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib |
pankso@30 | 29 cp -a $_pkg/usr/include $fs/usr |
pankso@30 | 30 cp -a $_pkg/usr/share/aclocal $fs/usr/share |
pankso@30 | 31 cp -a $_pkg/usr/share/libtool $fs/usr/share |
erjo@8695 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@30 | 33 } |