wok diff swig/receipt @ rev 24892

Down libtmp (1.1.17), 1.1.19 doesn't detect smartphones (?)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 07 15:38:15 2022 +0000 (2022-04-07)
parents e2d7785559f5
children bd7510903310
line diff
     1.1 --- a/swig/receipt	Sat Jan 15 13:48:03 2022 +0100
     1.2 +++ b/swig/receipt	Thu Apr 07 15:38:15 2022 +0000
     1.3 @@ -15,6 +15,12 @@
     1.4  DEPENDS="gcc-lib-base pcre zlib"
     1.5  BUILD_DEPENDS="pcre-dev pkg-config zlib-dev"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.10 +	sed '/released/!d;s|.*SWIG-||;s| .*||;q'
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {