wok view autoconf/receipt @ rev 25615

Add libslirp (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 03 12:03:26 2023 +0000 (16 months ago)
parents 21f65cda07b9
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 - https://ftp.gnu.org/gnu/$PACKAGE/ 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 }