wok-current view m4/receipt @ rev 24947
updated nagios-nrpe (4.0.2 -> 4.0.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 22 17:39:55 2022 +0100 (2022-04-22) |
parents | 71360a13cd94 |
children |
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 }