wok diff wxWidgets/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 a0280eae1832
children 6f116ab3c078
line diff
     1.1 --- a/wxWidgets/receipt	Thu May 14 16:26:56 2020 -0400
     1.2 +++ b/wxWidgets/receipt	Mon May 02 11:23:24 2022 +0000
     1.3 @@ -20,6 +20,12 @@
     1.4  BUILD_DEPENDS="expat-dev gtk+-dev jpeg-dev libglu-mesa libpng-dev mesa-dev 
     1.5  	tiff-dev xorg-dev xorg-libXpm-dev xorg-xineramaproto zlib-dev"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    1.10 +	sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {