wok annotate autoconf/receipt @ rev 25073

Up dropbear (2022.82)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 11 11:22:52 2022 +0000 (2022-06-11)
parents 4310a82e5109
children d79ed38ace18
rev   line source
pankso@15 1 # SliTaz package receipt.
pankso@15 2
pankso@15 3 PACKAGE="autoconf"
Hans-G?nter@24333 4 VERSION="2.71"
pankso@200 5 CATEGORY="development"
Hans-G?nter@24333 6 SHORT_DESC="A GNU tool for automatically configuring source code."
pankso@15 7 MAINTAINER="pankso@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
Hans-G?nter@24333 9 WEB_SITE="https://www.gnu.org/software/autoconf/"
Hans-G?nter@24333 10
al@14604 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@15 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@15 13
Hans-G?nter@24333 14 DEPENDS="gettext-tools m4 perl xz"
slaxemulator@10277 15 BUILD_DEPENDS="m4 perl"
slaxemulator@10277 16
pascal@24334 17 # What is the latest version available today?
pascal@24334 18 current_version()
pascal@24334 19 {
pascal@24334 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24334 21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24334 22 }
pascal@24334 23
al@14604 24 # Rules to compile & install the temporary toolchain.
slaxemulator@10407 25 cook_tmp_toolchain()
slaxemulator@10407 26 {
Hans-G?nter@24333 27 ./configure &&
Hans-G?nter@24333 28 make &&
Hans-G?nter@24333 29 make install
slaxemulator@10407 30 }
slaxemulator@10407 31
pankso@15 32 # Rules to configure and make the package.
pankso@15 33 compile_rules()
pankso@15 34 {
slaxemulator@10277 35 ./configure $CONFIGURE_ARGS &&
al@14604 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@24333 43 cook_copy_folders bin
Hans-G?nter@24333 44 cook_copy_folders autoconf
Hans-G?nter@24333 45 rm -f $fs/usr/share/autoconf/INSTALL
pankso@15 46 }