wok diff libexif/receipt @ rev 25690

mmv: inserted current_version()
author Hans-G?nter Theisgen
date Mon Apr 15 15:20:24 2024 +0100 (7 months ago)
parents bbb340edb2d2
children
line diff
     1.1 --- a/libexif/receipt	Wed Mar 16 09:57:52 2022 +0100
     1.2 +++ b/libexif/receipt	Mon Apr 15 15:20:24 2024 +0100
     1.3 @@ -13,10 +13,11 @@
     1.4  
     1.5  HOST_ARCH="i486 arm"
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10  	wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    1.11 -	sed '/archive.*libexif.*tar/!d;s|.*/libexif-\(.*\)-release.*|\1|;s|_|.|g;q'
    1.12 +	sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;s|_|.|g;q'
    1.13  }
    1.14  
    1.15  # Rules to configure and make the package.