wok-6.x diff tree/receipt @ rev 24326

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 27 12:16:00 2022 +0000 (2022-01-27)
parents 804a303f31dc
children fb22330086d8
line diff
     1.1 --- a/tree/receipt	Thu Nov 28 10:13:55 2019 +0100
     1.2 +++ b/tree/receipt	Thu Jan 27 12:16:00 2022 +0000
     1.3 @@ -11,6 +11,13 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tgz"
     1.5  WGET_URL="ftp://mama.indstate.edu/linux/tree/$TARBALL"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - $WEB_SITE/tags 2>/dev/null | \
    1.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {