wok-current diff perl-netaddr-ip/receipt @ rev 25614
use gcc49 to build syslinux (seem corrupt with new gcc)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Sep 03 13:07:16 2023 +0000 (14 months ago) |
parents | 3dedb87012b8 |
children |
line diff
1.1 --- a/perl-netaddr-ip/receipt Fri Nov 15 23:13:17 2019 +0100 1.2 +++ b/perl-netaddr-ip/receipt Sun Sep 03 13:07:16 2023 +0000 1.3 @@ -10,9 +10,15 @@ 1.4 BUILD_DEPENDS="perl" 1.5 SOURCE="NetAddr-IP" 1.6 TARBALL="$SOURCE-$VERSION.tar.gz" 1.7 -WEB_SITE="http://www.cpan.org/modules/" 1.8 +WEB_SITE="https://metacpan.org/dist/NetAddr-IP" 1.9 WGET_URL="https://cpan.metacpan.org/authors/id/M/MI/MIKER/$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 {