wok-6.x diff perl-convert-asn1/receipt @ rev 24139

Add redupe
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 09 17:05:26 2021 +0000 (2021-11-09)
parents c42cba083aa8
children 047f73e7e39e
line diff
     1.1 --- a/perl-convert-asn1/receipt	Sun Mar 29 17:14:16 2020 +0100
     1.2 +++ b/perl-convert-asn1/receipt	Tue Nov 09 17:05:26 2021 +0000
     1.3 @@ -6,7 +6,7 @@
     1.4  SHORT_DESC="Perl extension Convert::ASN1."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="GPL"
     1.7 -WEB_SITE="http://cpan.org/"
     1.8 +WEB_SITE="https://metacpan.org/dist/Convert-ASN1"
     1.9  
    1.10  SOURCE="Convert-ASN1"
    1.11  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.12 @@ -15,6 +15,12 @@
    1.13  DEPENDS="perl"
    1.14  BUILD_DEPENDS="perl"
    1.15  
    1.16 +current_version()
    1.17 +{
    1.18 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.19 +	sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
    1.20 +}
    1.21 +
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {