wok diff ptlib/receipt @ rev 25234
updated python-routes (2.4.1 -> 2.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 17:31:59 2022 +0100 (2022-07-13) |
parents | 78bc4b109dd6 |
children |
line diff
1.1 --- a/ptlib/receipt Sat Jul 25 08:45:16 2020 +0000 1.2 +++ b/ptlib/receipt Wed Jul 13 17:31:59 2022 +0100 1.3 @@ -16,6 +16,14 @@ 1.4 BUILD_DEPENDS="alsa-lib-dev cyrus-sasl-dev flex openssl-dev \ 1.5 pkg-config zlib-dev" 1.6 1.7 +current_version() 1.8 +{ 1.9 + local base=http://ftp.gnome.org/pub/gnome/sources/$PACKAGE 1.10 + wget -O - $base/$(wget -O - $base 2>/dev/null | \ 1.11 + sed '/href=.[0-9]/!d;s|.*href=.||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ 1.12 + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.13 +} 1.14 + 1.15 # Rules to configure and make the package. 1.16 compile_rules() 1.17 {