wok-current diff tazweb/receipt @ rev 24569
sokojs: add shrink.sh (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 26 18:46:53 2022 +0000 (2022-02-26) |
parents | 8862bbaf1d18 |
children | a23978bfa665 |
line diff
1.1 --- a/tazweb/receipt Thu Mar 21 14:18:40 2019 +0100 1.2 +++ b/tazweb/receipt Sat Feb 26 18:46:53 2022 +0000 1.3 @@ -16,6 +16,13 @@ 1.4 BUILD_DEPENDS="glib-dev gtk+-dev libsoup-dev libwebkit-dev libxslt-dev" 1.5 HOST_ARCH="i486 arm" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ 1.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ 1.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {