wok-6.x annotate automake/receipt @ rev 13182

hydra: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 02 15:30:53 2012 +0200 (2012-08-02)
parents 4219237b4608
children a09e9d64e4c9
rev   line source
pankso@15 1 # SliTaz package receipt.
pankso@15 2
pankso@15 3 PACKAGE="automake"
slaxemulator@12870 4 VERSION="1.11.3"
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
slaxemulator@12870 37 ln -sf automake-1.11 $fs/usr/bin/automake-1.10
slaxemulator@12870 38 ln -sf aclocal-1.11 $fs/usr/bin/aclocal-1.10
slaxemulator@12870 39 ln -sf aclocal-1.11 $fs/usr/share/aclocal-1.10
slaxemulator@12870 40 ln -sf automake-1.11 $fs/usr/share/automake-1.10
pankso@15 41 }