wok diff libpqxx/receipt @ rev 24411

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 09 17:57:59 2022 +0000 (2022-02-09)
parents 4a1336eda4f9
children 362a5a98467f
line diff
     1.1 --- a/libpqxx/receipt	Sat Feb 24 22:10:29 2018 +0100
     1.2 +++ b/libpqxx/receipt	Wed Feb 09 17:57: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  {