wok diff swig/receipt @ rev 24414
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 10 11:43:39 2022 +0000 (2022-02-10) |
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 Feb 10 11:43:39 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 {