wok diff libimobiledevice/receipt @ rev 24974
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 02 11:23:24 2022 +0000 (2022-05-02) |
parents | 05c8d8d9d934 |
children | 22471cbea549 |
line diff
1.1 --- a/libimobiledevice/receipt Wed Oct 28 15:17:00 2020 +0000 1.2 +++ b/libimobiledevice/receipt Mon May 02 11:23:24 2022 +0000 1.3 @@ -14,6 +14,12 @@ 1.4 BUILD_DEPENDS="gnutls-dev glib-dev libplist-dev usbmuxd-dev python-dev swig \ 1.5 libgnutls" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - https://github.com/libimobiledevice/libimobiledevice 2>/dev/null | \ 1.10 + sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {