wok diff perl-thread/receipt @ rev 25611
Add zx0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 01 18:37:27 2023 +0000 (14 months ago) |
parents | c6796c6304f6 |
children |
line diff
1.1 --- a/perl-thread/receipt Wed May 06 09:10:52 2020 +0000 1.2 +++ b/perl-thread/receipt Tue Aug 01 18:37:27 2023 +0000 1.3 @@ -13,6 +13,12 @@ 1.4 WEB_SITE="https://www.perl.org/" 1.5 WGET_URL="http://ftp.funet.fi/pub/CPAN/src/$TARBALL" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - $WEB_SITE 2>/dev/null | \ 1.10 + sed '/version-highlight/!d;s|.*">||;s|<.*||;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 # 1.15 compile_rules()