wok-next annotate automake/receipt @ rev 12646
Up libmtp (1.1.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 29 23:16:55 2012 +0200 (2012-04-29) |
parents | 88ec8ecd6b1f |
children | e552d81cb066 |
rev | line source |
---|---|
pankso@15 | 1 # SliTaz package receipt. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="automake" |
slaxemulator@6176 | 4 VERSION="1.11.1" |
pankso@200 | 5 CATEGORY="development" |
pankso@15 | 6 SHORT_DESC="Tool for automatically generating 'Makefile.in'." |
pankso@15 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@15 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@15 | 9 WEB_SITE="http://www.gnu.org/software/automake/" |
pankso@15 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@15 | 11 |
slaxemulator@10415 | 12 DEPENDS="autoconf" |
slaxemulator@10415 | 13 BUILD_DEPENDS="autoconf" |
slaxemulator@10415 | 14 |
slaxemulator@10415 | 15 # Rules to compile & install the temporary toolchain. |
slaxemulator@10415 | 16 cook_tmp_toolchain() |
slaxemulator@10415 | 17 { |
slaxemulator@10415 | 18 cd $src |
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 { |
pankso@15 | 25 cd $src |
slaxemulator@10280 | 26 ./configure $CONFIGURE_ARGS && |
slaxemulator@10280 | 27 make && 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 { |
pankso@15 | 33 mkdir -p $fs/usr/share |
pankso@15 | 34 cp -a $_pkg/usr/bin $fs/usr |
pankso@3187 | 35 cp -a $_pkg/usr/share/aclocal-1.11 $fs/usr/share |
pankso@3187 | 36 cp -a $_pkg/usr/share/automake-1.11 $fs/usr/share |
pankso@12497 | 37 cd $fs/usr/bin |
pankso@12497 | 38 ln -s automake-1.11 automake-1.10 |
pankso@12497 | 39 ln -s aclocal-1.11 aclocal-1.10 |
pankso@12497 | 40 cd ../share |
pankso@12497 | 41 ln -s aclocal-1.11 aclocal-1.10 |
pankso@12497 | 42 ln -s automake-1.11 automake-1.10 |
pankso@15 | 43 } |