wok diff perl/receipt @ rev 25362
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 07:24:59 2022 +0000 (2022-07-28) |
parents | 93cfbe138cae |
children |
line diff
1.1 --- a/perl/receipt Tue Mar 10 08:35:31 2020 +0100 1.2 +++ b/perl/receipt Thu Jul 28 07:24:59 2022 +0000 1.3 @@ -13,6 +13,12 @@ 1.4 WGET_URL="http://ftp.funet.fi/pub/CPAN/src/$TARBALL" 1.5 PROVIDE="microperl" 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 compile & install the temporary toolchain. 1.14 cook_tmp_toolchain() 1.15 {