wok diff libimobiledevice/receipt @ rev 24083

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 10 11:40:16 2021 +0000 (2021-07-10)
parents 05c8d8d9d934
children 22471cbea549
line diff
     1.1 --- a/libimobiledevice/receipt	Wed Oct 28 15:17:00 2020 +0000
     1.2 +++ b/libimobiledevice/receipt	Sat Jul 10 11:40:16 2021 +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  {