qtbase: improve update macro

This commit is contained in:
Mark Brand 2015-10-16 10:44:19 +02:00
parent 8e65d7a3ba
commit a868bf635e
1 changed files with 2 additions and 1 deletions

View File

@ -11,9 +11,10 @@ $(PKG)_URL := http://download.qt.io/official_releases/qt/5.5/$($(PKG)_VERSI
$(PKG)_DEPS := gcc dbus fontconfig freetds freetype harfbuzz jpeg libpng libmysqlclient openssl pcre postgresql sqlite zlib
define $(PKG)_UPDATE
$(WGET) -q -O- http://download.qt-project.org/official_releases/qt/5.4/ | \
$(WGET) -q -O- http://download.qt-project.org/official_releases/qt/5.5/ | \
$(SED) -n 's,.*href="\(5\.[0-9]\.[^/]*\)/".*,\1,p' | \
grep -iv -- '-rc' | \
sort |
tail -1
endef