wok annotate automake/receipt @ rev 16378
Add: ntk + non-studio
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 15 02:04:52 2014 +0200 (2014-04-15) |
parents | e552d81cb066 |
children | 8fddb5f5b2e0 |
rev | line source |
---|---|
pankso@15 | 1 # SliTaz package receipt. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="automake" |
al@14604 | 4 VERSION="1.13.2" |
pankso@200 | 5 CATEGORY="development" |
al@14604 | 6 SHORT_DESC="A GNU tool for automatically creating Makefiles" |
pankso@15 | 7 MAINTAINER="pankso@slitaz.org" |
al@14604 | 8 LICENSE="GPL2" |
pankso@15 | 9 WEB_SITE="http://www.gnu.org/software/automake/" |
al@14604 | 10 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@15 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@15 | 12 |
slaxemulator@10415 | 13 DEPENDS="autoconf" |
al@14604 | 14 BUILD_DEPENDS="autoconf bison flex" |
slaxemulator@10415 | 15 |
slaxemulator@10415 | 16 # Rules to compile & install the temporary toolchain. |
slaxemulator@10415 | 17 cook_tmp_toolchain() |
slaxemulator@10415 | 18 { |
slaxemulator@10415 | 19 cd $src |
slaxemulator@10415 | 20 ./configure && make && make install |
slaxemulator@10415 | 21 } |
slaxemulator@10415 | 22 |
pankso@15 | 23 # Rules to configure and make the package. |
pankso@15 | 24 compile_rules() |
pankso@15 | 25 { |
slaxemulator@10280 | 26 ./configure $CONFIGURE_ARGS && |
al@14604 | 27 make && |
al@14604 | 28 make install |
pankso@15 | 29 } |
pankso@15 | 30 |
pankso@15 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15 | 32 genpkg_rules() |
pankso@15 | 33 { |
al@14604 | 34 cp -a $install/* $fs |
al@14604 | 35 ln -sf aclocal-${VERSION%.*} $fs/usr/bin/aclocal |
al@14604 | 36 ln -sf automake-${VERSION%.*} $fs/usr/bin/automake |
al@14604 | 37 rm -rf $fs/usr/share/doc $fs/usr/share/info $fs/usr/share/man |
pankso@15 | 38 } |