wok-current diff openttd/receipt @ rev 24581
updated libspectrum and libspectrum-dev (1.4.4 -> 1.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 27 17:07:05 2022 +0100 (2022-02-27) |
parents | be1594cae466 |
children | 9981cfce1dd8 |
line diff
1.1 --- a/openttd/receipt Thu Apr 18 12:08:43 2019 +0200 1.2 +++ b/openttd/receipt Sun Feb 27 17:07:05 2022 +0100 1.3 @@ -13,6 +13,13 @@ 1.4 DEPENDS="libsdl lzo zlib libpng icu" 1.5 BUILD_DEPENDS="libsdl-dev lzo-dev zlib-dev libpng-dev liblzma-dev icu-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://www.openttd.org/downloads/openttd-releases/latest 2>/dev/null | \ 1.11 + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {