wok annotate m4/receipt @ rev 25512

memtest: 386/1M support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 14 07:20:48 2023 +0000 (21 months ago)
parents 71360a13cd94
children d79ed38ace18
rev   line source
pankso@19 1 # SliTaz package receipt.
pankso@19 2
pankso@19 3 PACKAGE="m4"
Hans-G?nter@24875 4 VERSION="1.4.19"
pankso@204 5 CATEGORY="development"
pankso@19 6 SHORT_DESC="GNU traditional Unix macro processor."
pankso@19 7 MAINTAINER="pankso@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
Hans-G?nter@21410 9 WEB_SITE="https://www.gnu.org/software/m4/"
Hans-G?nter@21410 10
pankso@19 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@19 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@19 13
Hans-G?nter@24875 14 SUGGESTED="m4-lang"
slaxemulator@10372 15 DEPENDS="glibc-base"
pankso@12811 16 BUILD_DEPENDS=""
slaxemulator@10418 17
Hans-G?nter@21410 18 HOST_ARCH="i486 arm"
Hans-G?nter@21410 19
pascal@24336 20 # What is the latest version available today?
pascal@24336 21 current_version()
pascal@24336 22 {
pascal@24336 23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24336 24 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24336 25 }
pascal@24336 26
pankso@19 27 # Rules to configure and make the package.
pankso@19 28 compile_rules()
pankso@19 29 {
pankso@12811 30 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@24875 31 make &&
pascal@15240 32 make install
pankso@19 33 }
pankso@19 34
pankso@19 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@19 36 genpkg_rules()
pankso@19 37 {
Hans-G?nter@24875 38 cook_copy_folders bin
pankso@19 39 }