wok annotate automake/receipt @ rev 24533

updated f3 (7.2 -> 8.0)
author Hans-G?nter Theisgen
date Wed Feb 23 11:14:10 2022 +0100 (2022-02-23)
parents 71360a13cd94
children d79ed38ace18
rev   line source
pankso@15 1 # SliTaz package receipt.
pankso@15 2
pankso@15 3 PACKAGE="automake"
Hans-G?nter@24337 4 VERSION="1.16.5"
pankso@200 5 CATEGORY="development"
Hans-G?nter@21010 6 SHORT_DESC="A GNU tool for automatically creating Makefiles."
pankso@15 7 MAINTAINER="pankso@slitaz.org"
al@14604 8 LICENSE="GPL2"
Hans-G?nter@21010 9 WEB_SITE="https://www.gnu.org/software/automake/"
Hans-G?nter@21010 10
al@14604 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@15 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@15 13
slaxemulator@10415 14 DEPENDS="autoconf"
al@14604 15 BUILD_DEPENDS="autoconf bison flex"
slaxemulator@10415 16
pascal@24336 17 # What is the latest version available today?
pascal@24336 18 current_version()
pascal@24336 19 {
pascal@24336 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24336 21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24336 22 }
pascal@24336 23
slaxemulator@10415 24 # Rules to compile & install the temporary toolchain.
slaxemulator@10415 25 cook_tmp_toolchain()
slaxemulator@10415 26 {
Hans-G?nter@21010 27 ./configure &&
Hans-G?nter@24337 28 make &&
Hans-G?nter@21010 29 make install
slaxemulator@10415 30 }
slaxemulator@10415 31
pankso@15 32 # Rules to configure and make the package.
pankso@15 33 compile_rules()
pankso@15 34 {
slaxemulator@10280 35 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@24337 36 make &&
al@14604 37 make install
pankso@15 38 }
pankso@15 39
pankso@15 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@15 41 genpkg_rules()
pankso@15 42 {
Hans-G?nter@21010 43 cp -a $install/* $fs
Hans-G?nter@21010 44
Hans-G?nter@21010 45 ln -sf aclocal-${VERSION%.*} $fs/usr/bin/aclocal
Hans-G?nter@21010 46 ln -sf automake-${VERSION%.*} $fs/usr/bin/automake
Hans-G?nter@21010 47
Hans-G?nter@24337 48 rm -rf $fs/usr/share/doc
Hans-G?nter@24337 49 rm -rf $fs/usr/share/info
Hans-G?nter@24337 50 rm -rf $fs/usr/share/man
pankso@15 51 }