wok diff perl-http-server-simple-authen/receipt @ rev 24955
updated nano and nano-doc (4.8 -> 6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 16:34:46 2022 +0100 (2022-04-23) |
parents | a3684252aaf1 |
children |
line diff
1.1 --- a/perl-http-server-simple-authen/receipt Fri Oct 12 19:21:44 2018 +0200 1.2 +++ b/perl-http-server-simple-authen/receipt Sat Apr 23 16:34:46 2022 +0100 1.3 @@ -10,9 +10,15 @@ 1.4 BUILD_DEPENDS="$DEPENDS" 1.5 SOURCE="HTTP-Server-Simple-Authen" 1.6 TARBALL="$SOURCE-$VERSION.tar.gz" 1.7 -WEB_SITE="http://cpan.org/" 1.8 +WEB_SITE="https://metacpan.org/dist/HTTP-Server-Simple-Authen" 1.9 WGET_URL="https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/$TARBALL" 1.10 1.11 +current_version() 1.12 +{ 1.13 + wget -O - $WEB_SITE 2>/dev/null | \ 1.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 1.15 +} 1.16 + 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 {