wok-current diff cocoalib/receipt @ rev 24548
created recipe for firefox-official-pl
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 07:47:13 2022 +0100 (2022-02-25) |
parents | 0e6c15b6b327 |
children | fff755dd0f58 |
line diff
1.1 --- a/cocoalib/receipt Thu Jan 09 14:33:11 2020 +0100 1.2 +++ b/cocoalib/receipt Fri Feb 25 07:47:13 2022 +0100 1.3 @@ -17,6 +17,13 @@ 1.4 libboost-iostreams-dev libboost-system-dev libboost-thread-dev 1.5 libboost-tr1-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;/CoCoALib-[0-9]/!d;/tgz/!d;s|.*CoCoALib-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {