wok-current annotate autoconf213/receipt @ rev 24903
updated mercurial (5.3.1 -> 6.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 11:10:54 2022 +0100 (2022-04-09) |
parents | 79ca52db29ca |
children |
rev | line source |
---|---|
psychomaniak@19084 | 1 # SliTaz package receipt. |
psychomaniak@19084 | 2 |
psychomaniak@19084 | 3 PACKAGE="autoconf213" |
psychomaniak@19084 | 4 VERSION="2.13" |
psychomaniak@19084 | 5 CATEGORY="development" |
psychomaniak@19084 | 6 SHORT_DESC="A GNU tool for automatically configuring source code" |
psychomaniak@19084 | 7 MAINTAINER="psychomaniak@xakep.ru" |
psychomaniak@19084 | 8 LICENSE="GPL2" |
psychomaniak@19084 | 9 WEB_SITE="http://www.gnu.org/software/autoconf/" |
psychomaniak@19084 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
psychomaniak@19084 | 11 WGET_URL="http://ftpmirror.gnu.org/autoconf/autoconf-$VERSION.tar.gz" |
psychomaniak@19084 | 12 |
psychomaniak@19084 | 13 DEPENDS="m4 perl" |
psychomaniak@19084 | 14 BUILD_DEPENDS="m4 perl sed" |
psychomaniak@19084 | 15 |
pascal@24694 | 16 # What is the latest version available today? |
pascal@24694 | 17 current_version() |
pascal@24694 | 18 { |
pascal@24694 | 19 wget -O - http://ftpmirror.gnu.org/autoconf/ 2>/dev/null | \ |
pascal@24694 | 20 sed '/>autoconf-2\.13/!d;s|.*>autoconf-||;s|.t.*||' | sort -Vr | sed q |
pascal@24694 | 21 } |
pascal@24694 | 22 |
psychomaniak@19084 | 23 # Rules to configure and make the package. |
psychomaniak@19084 | 24 compile_rules() |
psychomaniak@19084 | 25 { |
psychomaniak@19084 | 26 ./configure --prefix=/usr --program-suffix=-2.13 |
psychomaniak@19084 | 27 make && |
psychomaniak@19084 | 28 make prefix="$DESTDIR/usr" install |
psychomaniak@19084 | 29 } |
psychomaniak@19084 | 30 |
psychomaniak@19084 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@19084 | 32 genpkg_rules() |
psychomaniak@19084 | 33 { |
psychomaniak@19084 | 34 cp -a $install/* $fs |
psychomaniak@19084 | 35 } |