mirror of https://git.wownero.com/dsc/mxe.git
qt: Fix update routine
This commit is contained in:
parent
8f7834b362
commit
4a4b5dc1f5
|
@ -11,9 +11,10 @@ $(PKG)_URL := http://download.qt.io/official_releases/qt/4.8/$($(PKG)_VERSI
|
|||
$(PKG)_DEPS := gcc postgresql freetds openssl zlib libpng jpeg libmng tiff sqlite dbus
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://qt.gitorious.org/qt/qt/commits' | \
|
||||
grep '<li><a href="/qt/qt/commit/' | \
|
||||
$(SED) -n 's,.*<a[^>]*>v\([0-9][^<-]*\)<.*,\1,p' | \
|
||||
$(WGET) -q -O- http://download.qt-project.org/official_releases/qt/4.8/ | \
|
||||
$(SED) -n 's,.*href="\(4\.[0-9]\.[^/]*\)/".*,\1,p' | \
|
||||
grep -iv -- '-rc' | \
|
||||
$(SORT) -V | \
|
||||
tail -1
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in New Issue