wok-current annotate autoconf-archive/receipt @ rev 24909
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 09 14:28:38 2022 +0000 (2022-04-09) |
parents | ef4ee17e784f |
children |
rev | line source |
---|---|
Hans-G?nter@24036 | 1 # SliTaz package receipt. |
Hans-G?nter@24036 | 2 |
Hans-G?nter@24036 | 3 PACKAGE="autoconf-archive" |
Hans-G?nter@24036 | 4 VERSION="2021.02.19" |
Hans-G?nter@24036 | 5 CATEGORY="development" |
Hans-G?nter@24036 | 6 SHORT_DESC="Collection of GNU Autoconf macros." |
Hans-G?nter@24036 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@24036 | 8 LICENSE="GPL" |
Hans-G?nter@24036 | 9 WEB_SITE="https://www.gnu.org/software/autoconf-archive/" |
Hans-G?nter@24036 | 10 |
Hans-G?nter@24036 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@24036 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@24036 | 13 |
Hans-G?nter@24036 | 14 DEPENDS="autoconf" |
Hans-G?nter@24036 | 15 |
Hans-G?nter@24036 | 16 HOST_ARCH="any" |
Hans-G?nter@24036 | 17 |
pascal@24336 | 18 # What is the latest version available today? |
pascal@24336 | 19 current_version() |
pascal@24336 | 20 { |
pascal@24336 | 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24336 | 22 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24336 | 23 } |
pascal@24336 | 24 |
Hans-G?nter@24036 | 25 compile_rules() |
Hans-G?nter@24036 | 26 { |
Hans-G?nter@24036 | 27 ./configure \ |
Hans-G?nter@24036 | 28 $CONFIGURE_ARGS && |
Hans-G?nter@24036 | 29 make && |
Hans-G?nter@24036 | 30 make install |
Hans-G?nter@24036 | 31 } |
Hans-G?nter@24036 | 32 |
Hans-G?nter@24036 | 33 genpkg_rules() |
Hans-G?nter@24036 | 34 { |
Hans-G?nter@24036 | 35 mkdir -p $fs/usr/share |
Hans-G?nter@24036 | 36 cp -a $install/usr/share/aclocal $fs/usr/share |
Hans-G?nter@24036 | 37 } |