wok diff sloccount/receipt @ rev 24768
libwebkit: bison 3 fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 12:46:44 2022 +0000 (2022-03-19) |
parents | cb817f2b4406 |
children |
line diff
1.1 --- a/sloccount/receipt Mon Jun 05 17:43:22 2017 +0200 1.2 +++ b/sloccount/receipt Sat Mar 19 12:46:44 2022 +0000 1.3 @@ -7,11 +7,18 @@ 1.4 MAINTAINER="pascal.bellard@slitaz.org" 1.5 LICENSE="GPL2" 1.6 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.7 -WEB_SITE="https://www.dwheeler.com/sloccount/" 1.8 +WEB_SITE="https://dwheeler.com/sloccount/" 1.9 WGET_URL="${WEB_SITE}$TARBALL" 1.10 1.11 DEPENDS="perl" 1.12 1.13 +# What is the latest version available today? 1.14 +current_version() 1.15 +{ 1.16 + wget -O - $WEB_SITE 2>/dev/null | \ 1.17 + sed '/latest/!d;s|.*version ||;s| .*||;q' 1.18 +} 1.19 + 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 {