wok-current diff libmtp/receipt @ rev 24546
updated file, libmagic, libmagic-dev and python-magic (5.38 -> 5.41)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 07:20:29 2022 +0100 (2022-02-25) |
parents | 849f794ecc3b |
children | 08fec96a32ad |
line diff
1.1 --- a/libmtp/receipt Wed Mar 11 13:18:42 2020 +0100 1.2 +++ b/libmtp/receipt Fri Feb 25 07:20:29 2022 +0100 1.3 @@ -14,6 +14,14 @@ 1.4 DEPENDS="libusb udev" 1.5 BUILD_DEPENDS="libusb-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://sourceforge.net/projects/libmtp/files/libmtp/ 2>/dev/null | \ 1.11 + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 1.12 + sed '/scope="row/!d;s|.*/libmtp/||;s|/.*||;q' 1.13 +} 1.14 + 1.15 # Rules to configure and make the package. 1.16 compile_rules() 1.17 {