wok diff spandsp/receipt @ rev 25000
updated nms (0.3.3 -> 1.0.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 13:53:18 2022 +0100 (2022-05-16) |
parents | 78a46345f6bb |
children | 45673422e44e |
line diff
1.1 --- a/spandsp/receipt Tue Sep 10 09:01:01 2019 +0200 1.2 +++ b/spandsp/receipt Mon May 16 13:53:18 2022 +0100 1.3 @@ -7,12 +7,19 @@ 1.4 MAINTAINER="pascal.bellard@slitaz.org" 1.5 LICENSE="LGPL2.1" 1.6 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.7 -WEB_SITE="https://web.archive.org/web/20190804211734/https://www.soft-switch.org/" 1.8 +WEB_SITE="https://www.soft-switch.org/" 1.9 WGET_URL="${WEB_SITE}downloads/$PACKAGE/$TARBALL" 1.10 1.11 DEPENDS="tiff zlib jpeg" 1.12 BUILD_DEPENDS="tiff-dev zlib-dev jpeg-dev" 1.13 1.14 +# What is the latest version available today? 1.15 +current_version() 1.16 +{ 1.17 + wget -O - https://www.soft-switch.org/downloads/spandsp/ 2>/dev/null | \ 1.18 + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 1.19 +} 1.20 + 1.21 # Rules to configure and make the package. 1.22 compile_rules() 1.23 {