wok diff perl-crypt-ssleay/receipt @ rev 24463

updated dar (2.6.7 -> 2.7.3)
author Hans-G?nter Theisgen
date Thu Feb 17 07:23:25 2022 +0100 (2022-02-17)
parents 20661c276bcf
children e717a4953b0e
line diff
     1.1 --- a/perl-crypt-ssleay/receipt	Sun Jan 27 17:42:10 2019 +0100
     1.2 +++ b/perl-crypt-ssleay/receipt	Thu Feb 17 07:23:25 2022 +0100
     1.3 @@ -10,12 +10,18 @@
     1.4  BUILD_DEPENDS="perl"
     1.5  SOURCE="Crypt-SSLeay"
     1.6  TARBALL="$SOURCE-$VERSION.tar.gz"
     1.7 -WEB_SITE="http://cpan.org/"
     1.8 +WEB_SITE="https://metacpan.org/dist/Crypt-SSLeay"
     1.9  WGET_URL="https://metacpan.org/CPAN/authors/id/N/NA/NANIS/$TARBALL"
    1.10  
    1.11  DEPENDS="openssl"
    1.12  BUILD_DEPENDS="openssl-dev"
    1.13  
    1.14 +current_version()
    1.15 +{
    1.16 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.17 +	sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
    1.18 +}
    1.19 +
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {