wok diff perl-sha1/receipt @ rev 24941

memtest: add binutils 2.37 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 16 12:43:33 2022 +0000 (2022-04-16)
parents 6e8b1bcb30e2
children 0af8df0b46fc
line diff
     1.1 --- a/perl-sha1/receipt	Thu Jan 24 11:33:03 2019 +0100
     1.2 +++ b/perl-sha1/receipt	Sat Apr 16 12:43:33 2022 +0000
     1.3 @@ -13,6 +13,12 @@
     1.4  WEB_SITE="https://metacpan.org/release/Digest-SHA1/"
     1.5  WGET_URL="http://cpan.org/authors/id/G/GA/GAAS/$TARBALL"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.10 +	sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {