wok diff libdbi/receipt @ rev 24673

Add libavif
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 11 17:20:09 2022 +0000 (2022-03-11)
parents 997c40094d11
children 6e5c8ce7fb15
line diff
     1.1 --- a/libdbi/receipt	Fri Mar 11 09:23:49 2022 +0100
     1.2 +++ b/libdbi/receipt	Fri Mar 11 17:20:09 2022 +0000
     1.3 @@ -12,6 +12,13 @@
     1.4  WGET_URL="https://downloads.sourceforge.net/project/$PACKAGE/$PACKAGE/$PACKAGE-$VERSION/$TARBALL"
     1.5  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - https://sourceforge.net/projects/libdbi/files/libdbi/ 2>/dev/null | \
    1.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.12 +	sed '/scope="row/!d;s|.*/libdbi-||;s|/.*||;q'
    1.13 +}
    1.14  
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()