wok diff dahdi-linux64/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | 05c8d8d9d934 |
children | ba642f310677 |
line diff
1.1 --- a/dahdi-linux64/receipt Wed Oct 28 15:17:00 2020 +0000 1.2 +++ b/dahdi-linux64/receipt Sat Sep 03 09:28:15 2022 +0000 1.3 @@ -9,7 +9,7 @@ 1.4 LICENSE="GPL2" 1.5 TARBALL="$SOURCE-$VERSION.tar.gz" 1.6 WEB_SITE="https://www.asterisk.org/" 1.7 -WGET_URL="http://downloads.asterisk.org/pub/telephony/$PACKAGE/releases/$TARBALL" 1.8 +WGET_URL="http://downloads.asterisk.org/pub/telephony/$SOURCE/releases/$TARBALL" 1.9 EXTRA_SOURCE_FILES="dahdi-fw-hx8-2.06.tar.gz dahdi-fw-oct6114-032-1.05.01.tar.gz \ 1.10 dahdi-fw-oct6114-064-1.05.01.tar.gz dahdi-fw-oct6114-128-1.05.01.tar.gz \ 1.11 dahdi-fw-oct6114-256-1.05.01.tar.gz dahdi-fw-tc400m-MR6.12.tar.gz \ 1.12 @@ -27,6 +27,13 @@ 1.13 # Aufs enable chroot 1.14 AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8(" 1.15 1.16 +# What is the latest version available today? 1.17 +current_version() 1.18 +{ 1.19 + wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.20 + sed "/$SOURCE-/!d;/tar/!d;/-rc/d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.21 +} 1.22 + 1.23 # Rules to gen a SliTaz package suitable for Tazpkg. 1.24 compile_rules() 1.25 {