wok diff sloccount/receipt @ rev 24986

Up nettle 3.7.3 again, need glib-networking rebuild to no break midori
author Stanislas Leduc <shann@slitaz.org>
date Wed May 11 08:28:28 2022 -0400 (2022-05-11)
parents cb817f2b4406
children
line diff
     1.1 --- a/sloccount/receipt	Mon Jun 05 17:43:22 2017 +0200
     1.2 +++ b/sloccount/receipt	Wed May 11 08:28:28 2022 -0400
     1.3 @@ -7,11 +7,18 @@
     1.4  MAINTAINER="pascal.bellard@slitaz.org"
     1.5  LICENSE="GPL2"
     1.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.7 -WEB_SITE="https://www.dwheeler.com/sloccount/"
     1.8 +WEB_SITE="https://dwheeler.com/sloccount/"
     1.9  WGET_URL="${WEB_SITE}$TARBALL"
    1.10  
    1.11  DEPENDS="perl"
    1.12  
    1.13 +# What is the latest version available today?
    1.14 +current_version()
    1.15 +{
    1.16 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.17 +	sed '/latest/!d;s|.*version ||;s| .*||;q'
    1.18 +}
    1.19 +
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {