wok-current annotate m4/receipt @ rev 24776

jack1: added build dependency gcc83
author Hans-G?nter Theisgen
date Sat Mar 19 17:48:51 2022 +0100 (2022-03-19)
parents 3def4bd896c8
children 278e569f7820
rev   line source
pankso@19 1 # SliTaz package receipt.
pankso@19 2
pankso@19 3 PACKAGE="m4"
Hans-G?nter@21410 4 VERSION="1.4.18"
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
slaxemulator@10372 14 DEPENDS="glibc-base"
pankso@12811 15 BUILD_DEPENDS=""
slaxemulator@10418 16
Hans-G?nter@21410 17 HOST_ARCH="i486 arm"
Hans-G?nter@21410 18
pascal@24336 19 # What is the latest version available today?
pascal@24336 20 current_version()
pascal@24336 21 {
pascal@24336 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24336 23 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24336 24 }
pascal@24336 25
pankso@19 26 # Rules to configure and make the package.
pankso@19 27 compile_rules()
pankso@19 28 {
pankso@12811 29 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21410 30 make -j 1 &&
pascal@15240 31 make install
pankso@19 32 }
pankso@19 33
pankso@19 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@19 35 genpkg_rules()
pankso@19 36 {
pankso@19 37 mkdir -p $fs/usr
pankso@12811 38 cp -a $install/usr/bin $fs/usr
pankso@19 39 }