wok-current diff sane-backends/receipt @ rev 24109

Up xplanet (1.3.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 28 09:25:18 2021 +0000 (2021-09-28)
parents 1b5e36efea1d
children 3ad63c8fc2f9
line diff
     1.1 --- a/sane-backends/receipt	Sun Apr 11 15:30:14 2021 +0100
     1.2 +++ b/sane-backends/receipt	Tue Sep 28 09:25:18 2021 +0000
     1.3 @@ -16,6 +16,12 @@
     1.4  	libv4l-dev tiff-dev zlib-dev"
     1.5  SUGGESTED="gocr imagemagick sane-backends-lang tesseract-ocr"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    1.10 +	sed '/tar.gz/!d;s|.*/backends-\(.*\).tar.gz".*|\1|;q'
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {