wok diff leocad-pieces/receipt @ rev 24937

Up iptraf (3.0.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 14 08:53:05 2022 +0000 (2022-04-14)
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	Thu Apr 14 08:53:05 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  {