wok diff ptlib/receipt @ rev 24899
updated mediawiki (1.34.1 -> 1.37.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 09:41:00 2022 +0100 (2022-04-09) |
parents | 78bc4b109dd6 |
children |
line diff
1.1 --- a/ptlib/receipt Sat Jul 25 08:45:16 2020 +0000 1.2 +++ b/ptlib/receipt Sat Apr 09 09:41:00 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 {