wok-current view autoconf213/receipt @ rev 25104
Up klavaro (1.2.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 08:45:04 2022 +0000 (2022-06-22) |
parents | 79ca52db29ca |
children |
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 }