wok-current diff perl-html-template/receipt @ rev 25601
use gcc49-lib-base for openldap-dev
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 12:04:33 2023 +0000 (16 months ago) |
parents | d464571327ad |
children |
line diff
1.1 --- a/perl-html-template/receipt Sat Aug 04 13:11:27 2018 +0200 1.2 +++ b/perl-html-template/receipt Fri Sep 01 12:04:33 2023 +0000 1.3 @@ -13,6 +13,12 @@ 1.4 WEB_SITE="https://metacpan.org/pod/HTML::Template" 1.5 WGET_URL="https://cpan.metacpan.org/authors/id/S/SA/SAMTREGAR/$TARBALL" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - $WEB_SITE 2>/dev/null | \ 1.10 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {