wok-6.x diff perl-thread/receipt @ rev 25481
created recipe for py3k-cffi
author | Hans-G?nter Theisgen |
---|---|
date | Mon Oct 17 07:42:01 2022 +0100 (2022-10-17) |
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 Mon Oct 17 07:42:01 2022 +0100 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()