wok diff postgresql/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 a78610b2eb47
children df63c4ce07f8
line diff
     1.1 --- a/postgresql/receipt	Mon Jan 21 12:26:11 2019 +0100
     1.2 +++ b/postgresql/receipt	Fri Mar 11 17:20:09 2022 +0000
     1.3 @@ -16,6 +16,15 @@
     1.4  BUILD_DEPENDS="zlib-dev readline-dev ncurses-dev bison flex perl libxslt \
     1.5  python-dev"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - https://www.postgresql.org/ftp/source/$(\
    1.11 +	wget -O - https://www.postgresql.org/ftp/source/ 2>/dev/null | \
    1.12 +	sed '/href="v[0-9]/!d;s|.*href="||;s|/.*||;q')/ 2>/dev/null | \
    1.13 +	sed '/postgresql-/!d;/news/d;s|.*postgresql-||;s|.tar.*||;q'
    1.14 +}
    1.15 +
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {