wok-current diff perl-text-aspell/receipt @ rev 24890
trafshow: libpcap 1.10 has its own pcap_init
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 05 09:06:43 2022 +0000 (2022-04-05) |
parents | 20661c276bcf |
children | e717a4953b0e |
line diff
1.1 --- a/perl-text-aspell/receipt Sun Jan 27 17:42:10 2019 +0100 1.2 +++ b/perl-text-aspell/receipt Tue Apr 05 09:06:43 2022 +0000 1.3 @@ -10,9 +10,15 @@ 1.4 BUILD_DEPENDS="perl aspell aspell-dev" 1.5 SOURCE="Text-Aspell" 1.6 TARBALL="$SOURCE-$VERSION.tar.gz" 1.7 -WEB_SITE="http://www.cpan.org/modules/" 1.8 +WEB_SITE="https://metacpan.org/dist/Text-Aspell" 1.9 WGET_URL="https://metacpan.org/CPAN/authors/id/H/HA/HANK/$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 {