wok diff perl-net-pcap/receipt @ rev 24131
lxsession, lxsession-lxpolkit, lxappearance: misc fixes (thanks Saipul)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 23 10:55:42 2021 +0000 (2021-10-23) |
parents | 431d56806c7d |
children | be4f6d921ef0 |
line diff
1.1 --- a/perl-net-pcap/receipt Thu Mar 12 11:27:14 2020 +0100 1.2 +++ b/perl-net-pcap/receipt Sat Oct 23 10:55:42 2021 +0000 1.3 @@ -10,9 +10,15 @@ 1.4 BUILD_DEPENDS="perl libpcap libpcap-dev" 1.5 SOURCE="Net-Pcap" 1.6 TARBALL="$SOURCE-$VERSION.tar.gz" 1.7 -WEB_SITE="http://cpan.org/" 1.8 +WEB_SITE="https://metacpan.org/dist/Net-Pcap" 1.9 WGET_URL="http://cpan.org/authors/id/S/SA/SAPER/$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 {