wok diff yagf/receipt @ rev 24568

sokojs: add shrink.sh (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 26 16:37:15 2022 +0000 (2022-02-26)
parents b537b3456464
children 19fff4ad1644
line diff
     1.1 --- a/yagf/receipt	Sun Apr 16 11:52:13 2017 +0200
     1.2 +++ b/yagf/receipt	Sat Feb 26 16:37:15 2022 +0000
     1.3 @@ -14,6 +14,12 @@
     1.4  BUILD_DEPENDS="cmake Qt4-dev qmake aspell-dev"
     1.5  SUGGESTED="tesseract-ocr xsane"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - https://sourceforge.net/projects/yagf-ocr/files/ 2>/dev/null | \
    1.10 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {