wok diff pgadmin/receipt @ rev 25469
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 07 09:15:33 2022 +0000 (2022-10-07) |
parents | 45ea7937177f |
children |
line diff
1.1 --- a/pgadmin/receipt Sat Jun 01 17:55:28 2019 +0100 1.2 +++ b/pgadmin/receipt Fri Oct 07 09:15:33 2022 +0000 1.3 @@ -17,6 +17,13 @@ 1.4 BUILD_DEPENDS="libcrypto openssl-dev postgresql postgresql-dev libxml2-dev \ 1.5 libxslt-dev wxWidgets28-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://ftp.postgresql.org/pub/$PACKAGE/$SOURCE/ 2>/dev/null | \ 1.11 + sed '/v[0-9]/!d;s|.*">v||;s|/.*||;q' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {