wok diff ussp-push/receipt @ rev 24596
updated gftp (2.0.19 -> 2.9.1b)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 01 15:53:52 2022 +0100 (2022-03-01) |
parents | 6eb2d62a9c1f |
children | a190bcfebf1e |
line diff
1.1 --- a/ussp-push/receipt Thu Apr 13 10:45:52 2017 +0200 1.2 +++ b/ussp-push/receipt Tue Mar 01 15:53:52 2022 +0100 1.3 @@ -14,6 +14,13 @@ 1.4 DEPENDS="bluez openobex" 1.5 BUILD_DEPENDS="bluez-dev openobex-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - $WEB_SITE 2>/dev/null | \ 1.11 + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {