wok diff lzo/receipt @ rev 24974

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 11:23:24 2022 +0000 (2022-05-02)
parents 1cc8dfef2917
children
line diff
     1.1 --- a/lzo/receipt	Mon Feb 26 17:40:15 2018 +0100
     1.2 +++ b/lzo/receipt	Mon May 02 11:23:24 2022 +0000
     1.3 @@ -11,6 +11,12 @@
     1.4  WGET_URL="$WEB_SITE$TARBALL"
     1.5  HOST_ARCH="i486 arm"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    1.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {