wok diff perl-md4/receipt @ rev 24908

updated mjpegtools and mjpegtools-dev (2.1.0 -> 2.2.1)
author Hans-G?nter Theisgen
date Sat Apr 09 15:21:07 2022 +0100 (2022-04-09)
parents 20661c276bcf
children e717a4953b0e
line diff
     1.1 --- a/perl-md4/receipt	Sun Jan 27 17:42:10 2019 +0100
     1.2 +++ b/perl-md4/receipt	Sat Apr 09 15:21:07 2022 +0100
     1.3 @@ -6,7 +6,7 @@
     1.4  SHORT_DESC="Digest::Perl::MD4 is a Perl extension."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="GPL"
     1.7 -WEB_SITE="https://metacpan.org/"
     1.8 +WEB_SITE="https://metacpan.org/dist/Digest-Perl-MD4"
     1.9  SOURCE="Digest-Perl-MD4"
    1.10  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.11  WGET_URL="https://metacpan.org/CPAN/authors/id/O/OT/OTAKA/$TARBALL"
    1.12 @@ -14,6 +14,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  {