wok annotate automake/receipt @ rev 20212
Force host arch to i486
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 24 12:51:10 2018 +0100 (2018-02-24) |
parents | 7f39549720b8 |
children | e8b94f6e0001 |
rev | line source |
---|---|
pankso@15 | 1 # SliTaz package receipt. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="automake" |
yuripourre@16813 | 4 VERSION="1.14.1" |
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 ./configure && make && make install |
slaxemulator@10415 | 20 } |
slaxemulator@10415 | 21 |
pankso@15 | 22 # Rules to configure and make the package. |
pankso@15 | 23 compile_rules() |
pankso@15 | 24 { |
slaxemulator@10280 | 25 ./configure $CONFIGURE_ARGS && |
al@14604 | 26 make && |
al@14604 | 27 make install |
pankso@15 | 28 } |
pankso@15 | 29 |
pankso@15 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15 | 31 genpkg_rules() |
pankso@15 | 32 { |
al@14604 | 33 cp -a $install/* $fs |
al@14604 | 34 ln -sf aclocal-${VERSION%.*} $fs/usr/bin/aclocal |
al@14604 | 35 ln -sf automake-${VERSION%.*} $fs/usr/bin/automake |
al@14604 | 36 rm -rf $fs/usr/share/doc $fs/usr/share/info $fs/usr/share/man |
pankso@15 | 37 } |