wok diff openjpeg2/receipt @ rev 24908

updated mjpegtools and mjpegtools-dev (2.1.0 -> 2.2.1)
author Hans-G?nter Theisgen
date Sat Apr 09 15:21:07 2022 +0100 (2022-04-09)
parents 4b9ad2d4ee30
children f4bdbf65d59d
line diff
     1.1 --- a/openjpeg2/receipt	Tue May 28 13:37:38 2019 +0100
     1.2 +++ b/openjpeg2/receipt	Sat Apr 09 15:21:07 2022 +0100
     1.3 @@ -15,6 +15,12 @@
     1.4  DEPENDS="glibc-base tiff zlib"
     1.5  BUILD_DEPENDS="cmake tiff-dev"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    1.10 +	sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {