wok diff isapnptools/receipt @ rev 25097

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 18 20:27:19 2022 +0000 (23 months ago)
parents 8dd8bab3f0ca
children
line diff
     1.1 --- a/isapnptools/receipt	Thu Jan 24 14:51:04 2019 +0100
     1.2 +++ b/isapnptools/receipt	Sat Jun 18 20:27:19 2022 +0000
     1.3 @@ -8,7 +8,13 @@
     1.4  LICENSE="GPL2"
     1.5  TARBALL="$PACKAGE-$VERSION.tgz"
     1.6  WEB_SITE="https://web.archive.org/web/20140210040320/http://www.roestock.demon.co.uk/isapnptools/"
     1.7 -WGET_URL="ftp://metalab.unc.edu/pub/Linux/system/hardware/$TARBALL"
     1.8 +WGET_URL="http://metalab.unc.edu/pub/Linux/system/hardware/$TARBALL"
     1.9 +
    1.10 +current_version()
    1.11 +{
    1.12 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    1.13 +	sed "/$PACKAGE-/!d;/lsm/!d;s|.*$PACKAGE-\\(.*\\).lsm.*\".*|\\1|;q"
    1.14 +}
    1.15  
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()