wok-6.x diff perl/receipt @ rev 25035
Up libqcow (20210419)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 20 18:11:13 2022 +0000 (2022-05-20) |
parents | 93cfbe138cae |
children |
line diff
1.1 --- a/perl/receipt Tue Mar 10 08:35:31 2020 +0100 1.2 +++ b/perl/receipt Fri May 20 18:11:13 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 {