wok diff spandsp/receipt @ rev 24577

updated ftgl and ftgl-dev (2.1.3-rc5 -> 2.4.0)
author Hans-G?nter Theisgen
date Sun Feb 27 11:03:39 2022 +0100 (2022-02-27)
parents 78a46345f6bb
children 45673422e44e
line diff
     1.1 --- a/spandsp/receipt	Tue Sep 10 09:01:01 2019 +0200
     1.2 +++ b/spandsp/receipt	Sun Feb 27 11:03:39 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  {