wok-current view autoconf/receipt @ rev 24644
updated hiawatha (10.10 -> 11.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 09:34:32 2022 +0100 (2022-03-10) |
parents | 4310a82e5109 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="autoconf"
4 VERSION="2.71"
5 CATEGORY="development"
6 SHORT_DESC="A GNU tool for automatically configuring source code."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gnu.org/software/autoconf/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="gettext-tools m4 perl xz"
15 BUILD_DEPENDS="m4 perl"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to compile & install the temporary toolchain.
25 cook_tmp_toolchain()
26 {
27 ./configure &&
28 make &&
29 make install
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 ./configure $CONFIGURE_ARGS &&
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cook_copy_folders bin
44 cook_copy_folders autoconf
45 rm -f $fs/usr/share/autoconf/INSTALL
46 }