wok-current diff micro_proxy/receipt @ rev 25554

Up fakeroot (1.31)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 12 20:31:24 2023 +0000 (20 months ago)
parents e6a4cd87fdcb
children
line diff
     1.1 --- a/micro_proxy/receipt	Sat Oct 05 18:31:33 2019 +0200
     1.2 +++ b/micro_proxy/receipt	Wed Apr 12 20:31:24 2023 +0000
     1.3 @@ -11,6 +11,14 @@
     1.4  TARBALL="${PACKAGE}_14Aug2014.tar.gz"
     1.5  WGET_URL="${WEB_SITE}$TARBALL"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    1.11 +	sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | \
    1.12 +	sort -Vr | sed q | xargs date +%Y%m%d -d 
    1.13 +}
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {