wok-current diff openjpeg2/receipt @ rev 24521

updated ettercap (0.8.3 -> 0.8.3.1)
author Hans-G?nter Theisgen
date Tue Feb 22 15:47:04 2022 +0100 (2022-02-22)
parents 4b9ad2d4ee30
children f4bdbf65d59d
line diff
     1.1 --- a/openjpeg2/receipt	Tue May 28 13:37:38 2019 +0100
     1.2 +++ b/openjpeg2/receipt	Tue Feb 22 15:47:04 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  {