wok-current diff perl-parallel-forkmanager/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 | 660220d9dba5 |
children |
line diff
1.1 --- a/perl-parallel-forkmanager/receipt Fri Oct 12 11:23:47 2018 +0200 1.2 +++ b/perl-parallel-forkmanager/receipt Fri Sep 01 12:04:33 2023 +0000 1.3 @@ -10,9 +10,15 @@ 1.4 BUILD_DEPENDS="perl" 1.5 SOURCE="Parallel-ForkManager" 1.6 TARBALL="$SOURCE-$VERSION.tar.gz" 1.7 -WEB_SITE="http://cpan.org/" 1.8 +WEB_SITE="https://metacpan.org/dist/Parallel-ForkManager" 1.9 WGET_URL="https://cpan.metacpan.org/authors/id/Y/YA/YANICK/$TARBALL" 1.10 1.11 +current_version() 1.12 +{ 1.13 + wget -O - $WEB_SITE 2>/dev/null | \ 1.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 1.15 +} 1.16 + 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 {