wok view autoconf213/receipt @ rev 25102
Use archive.org for some broken wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 21 16:00:20 2022 +0000 (2022-06-21) |
parents | 79ca52db29ca |
children | ffe3a28f2096 |
line source
1 # SliTaz package receipt.
3 PACKAGE="autoconf213"
4 VERSION="2.13"
5 CATEGORY="development"
6 SHORT_DESC="A GNU tool for automatically configuring source code"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.gnu.org/software/autoconf/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://ftpmirror.gnu.org/autoconf/autoconf-$VERSION.tar.gz"
13 DEPENDS="m4 perl"
14 BUILD_DEPENDS="m4 perl sed"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - http://ftpmirror.gnu.org/autoconf/ 2>/dev/null | \
20 sed '/>autoconf-2\.13/!d;s|.*>autoconf-||;s|.t.*||' | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure --prefix=/usr --program-suffix=-2.13
27 make &&
28 make prefix="$DESTDIR/usr" install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 }