wok-6.x diff leocad-pieces/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 | a78610b2eb47 |
children | 0f92b8cc8086 |
line diff
1.1 --- a/leocad-pieces/receipt Mon Jan 21 12:26:11 2019 +0100 1.2 +++ b/leocad-pieces/receipt Tue Apr 05 09:06:43 2022 +0000 1.3 @@ -11,6 +11,13 @@ 1.4 WEB_SITE="https://www.leocad.org/" 1.5 WGET_URL="http://leocad.googlecode.com/files/$TARBALL" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://github.com/leozide/leocad/releases 2>/dev/null | \ 1.11 + sed '/Library/!d;s|.*Library[^0-9]*||;s|.zip.*||;q' 1.12 +} 1.13 + 1.14 # Rules to gen a SliTaz package suitable for Tazpkg. 1.15 genpkg_rules() 1.16 {