description="GLib-based library for talking to WWAN modems and devices (QMI) protocol." url="http://www.freedesktop.org/software/libqmi/" packager="tnut " contributors="Pierre,Spiky" makedepends=(python glib libgudev libmbim) name=libqmi version=1.30.2 source=( http://www.freedesktop.org/software/libqmi/libqmi-$version.tar.xz) build=autotools package() { # Obsolet lib rm $PKG/usr/lib/libqmi-glib.la } uptodate() { local url ext ext=".tar.xz" url="https://www.freedesktop.org/software/$name/" lynx -read_timeout=20 -dump -listonly -nonumbers \ $url/?C=N\;O=D|grep $name|grep $ext$|head -1|sed "s@$url/$name-@@"|sed "s/$ext//" }