wok-6.x diff libpqxx/receipt @ rev 25045
Update some wget_url or web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 04 08:33:59 2022 +0000 (2022-06-04) |
parents | 4a1336eda4f9 |
children | 362a5a98467f |
line diff
1.1 --- a/libpqxx/receipt Sat Feb 24 22:10:29 2018 +0100 1.2 +++ b/libpqxx/receipt Sat Jun 04 08:33:59 2022 +0000 1.3 @@ -13,6 +13,12 @@ 1.4 BUILD_DEPENDS="gcc49 postgresql-dev" 1.5 DEPENDS="pkg-config" 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|.*/\(.*\).tar.*|\1|;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {