wok diff openobex/receipt @ rev 25602

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 18 09:27:49 2023 +0000 (18 months ago)
parents fb22330086d8
children 24024e28a27b
line diff
     1.1 --- a/openobex/receipt	Sun Feb 06 16:04:43 2022 +0000
     1.2 +++ b/openobex/receipt	Tue Jul 18 09:27:49 2023 +0000
     1.3 @@ -15,10 +15,11 @@
     1.4  DEPENDS="bluez libusb"
     1.5  BUILD_DEPENDS="bluez-dev cmake libusb-dev"
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10  	wget -O - $WEB_SITE/-/tags 2>/dev/null | \
    1.11 -	sed '/tar.gz/!d;/data/d;s|.*/mainline-\(.*\).tar.gz".*|\1|' | sort -Vr | sed q
    1.12 +	sed '/tar.gz/!d;/data/d;s|.*/mainline-\(.*\).tar.gz".*|\1|;/^tar.gz/d' | sort -Vr | sed q
    1.13  }
    1.14  
    1.15  # Rules to configure and make the package.