wok-6.x diff nspr/receipt @ rev 24982
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 08 13:06:36 2022 +0000 (2022-05-08) |
parents | e5abc956d567 |
children | 1dd5aa4fec8e |
line diff
1.1 --- a/nspr/receipt Wed Mar 25 14:14:54 2020 +0100 1.2 +++ b/nspr/receipt Sun May 08 13:06:36 2022 +0000 1.3 @@ -14,6 +14,12 @@ 1.4 DEPENDS="glibc-base" 1.5 BUILD_DEPENDS="perl" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - https://hg.mozilla.org/projects/nspr 2>/dev/null | \ 1.10 + sed '/_BRANCH/!d;s|.*NSPR_||;s|_BRANCH.*||;s|_|.|g;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {