wok-6.x diff swig/receipt @ rev 24359
updated bash (5.0.11 -> 5.1.16)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 03 17:12:14 2022 +0100 (2022-02-03) |
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 03 17:12:14 2022 +0100 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 {