wok annotate autoconf/receipt @ rev 12161
Fix several deps according to issue126
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 17 21:59:51 2012 +0100 (2012-03-17) |
parents | b283b17be7a4 |
children | a09e9d64e4c9 |
rev | line source |
---|---|
pankso@15 | 1 # SliTaz package receipt. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="autoconf" |
slaxemulator@6441 | 4 VERSION="2.68" |
pankso@200 | 5 CATEGORY="development" |
pankso@15 | 6 SHORT_DESC="Tool to automatically configure software source code." |
pankso@15 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@15 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@15 | 9 WEB_SITE="http://www.gnu.org/software/autoconf/" |
pankso@15 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@15 | 11 |
slaxemulator@10277 | 12 DEPENDS="m4 perl" |
slaxemulator@10277 | 13 BUILD_DEPENDS="m4 perl" |
slaxemulator@10277 | 14 |
slaxemulator@10407 | 15 cook_tmp_toolchain() |
slaxemulator@10407 | 16 { |
slaxemulator@10407 | 17 cd $src |
slaxemulator@10407 | 18 ./configure && make && make install |
slaxemulator@10407 | 19 } |
slaxemulator@10407 | 20 |
pankso@15 | 21 # Rules to configure and make the package. |
pankso@15 | 22 compile_rules() |
pankso@15 | 23 { |
pankso@15 | 24 cd $src |
slaxemulator@10277 | 25 ./configure $CONFIGURE_ARGS && |
slaxemulator@10277 | 26 make && make install |
pankso@15 | 27 } |
pankso@15 | 28 |
pankso@15 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15 | 30 genpkg_rules() |
pankso@15 | 31 { |
pankso@15 | 32 mkdir -p $fs/usr/share |
pankso@15 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@15 | 34 cp -a $_pkg/usr/share/autoconf $fs/usr/share |
pankso@15 | 35 } |