wok-current view m4/receipt @ rev 25084
updated p4wn (1.0 -> 2.01)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 15 17:34:03 2022 +0100 (2022-06-15) |
parents | 71360a13cd94 |
children | 5926178cd6fa |
line source
1 # SliTaz package receipt.
3 PACKAGE="m4"
4 VERSION="1.4.19"
5 CATEGORY="development"
6 SHORT_DESC="GNU traditional Unix macro processor."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/m4/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 SUGGESTED="m4-lang"
15 DEPENDS="glibc-base"
16 BUILD_DEPENDS=""
18 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
24 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders bin
39 }