wok-current diff obex-data-server/receipt @ rev 24906

updated minidlna (1.2.1 -> 1.3.0)
author Hans-G?nter Theisgen
date Sat Apr 09 14:37:52 2022 +0100 (2022-04-09)
parents d8f824013cf6
children 1f9238437d3b
line diff
     1.1 --- a/obex-data-server/receipt	Wed Jun 26 17:24:54 2019 +0200
     1.2 +++ b/obex-data-server/receipt	Sat Apr 09 14:37:52 2022 +0100
     1.3 @@ -6,7 +6,7 @@
     1.4  SHORT_DESC="D-Bus service providing high-level OBEX functionality."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 -WEB_SITE="https://web.archive.org/web/20181010135741/http://wiki.muiline.com/obex-data-server"
     1.8 +WEB_SITE="http://wiki.muiline.com/obex-data-server"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WGET_URL="$WEB_SITE/software/$TARBALL"
    1.11  TAGS="bluetooth"
    1.12 @@ -14,6 +14,13 @@
    1.13  DEPENDS="libusb dbus-glib bluez"
    1.14  BUILD_DEPENDS="libusb-dev dbus-glib-dev bluez-dev openobex-dev"
    1.15  
    1.16 +# What is the latest version available today?
    1.17 +current_version()
    1.18 +{
    1.19 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.20 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
    1.21 +}
    1.22 +
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {