wok-current diff libiec61883/receipt @ rev 24497
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 19 14:19:02 2022 +0000 (2022-02-19) |
parents | 8685ee90f6aa |
children | 9b180a3071fb |
line diff
1.1 --- a/libiec61883/receipt Fri Feb 15 11:29:31 2019 +0100 1.2 +++ b/libiec61883/receipt Sat Feb 19 14:19:02 2022 +0000 1.3 @@ -15,6 +15,13 @@ 1.4 DEPENDS="libraw1394" 1.5 BUILD_DEPENDS="libraw1394 libraw1394-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://mirrors.edge.kernel.org/pub/linux/libs/ieee1394/ 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 {