wok diff sloccount/receipt @ rev 25086
created recipe for sylpheed-lang
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 17 06:42:13 2022 +0100 (2022-06-17) |
parents | cb817f2b4406 |
children |
line diff
1.1 --- a/sloccount/receipt Mon Jun 05 17:43:22 2017 +0200 1.2 +++ b/sloccount/receipt Fri Jun 17 06:42:13 2022 +0100 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 {