wok diff buildroot/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 bd734fc43792
children
line diff
     1.1 --- a/buildroot/receipt	Wed Oct 21 13:33:36 2020 +0000
     1.2 +++ b/buildroot/receipt	Thu Apr 14 08:53:05 2022 +0000
     1.3 @@ -15,6 +15,13 @@
     1.4  DEPENDS="bash bc bzip2 ncurses ncurses-dev ncursesw-extra patch \
     1.5  	perl python rsync slitaz-toolchain tar unzip wget pkg-config Qt4-dev"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - https://www.buildroot.org/download.html 2>/dev/null | \
    1.11 +	sed '/buildroot-/!d;/tar.gz/!d;s|.*buildroot-||;s|.tar.*||;q'
    1.12 +}
    1.13 +
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  genpkg_rules()
    1.16  {