mirror of https://git.wownero.com/dsc/mxe.git
improved version recognition of package nsis
This commit is contained in:
parent
8048af6349
commit
728a1f5958
|
@ -31,10 +31,10 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/nsis/NSIS 2/$($(PKG)_VER
|
|||
$(PKG)_DEPS := gcc
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
wget -q -O- 'http://nsis.sourceforge.net/Download' | \
|
||||
grep 'nsis-' | \
|
||||
$(SED) -n 's,.*nsis-\([0-9][^>]*\)-src\.tar.*,\1,p' | \
|
||||
head -1
|
||||
wget -q -O- 'http://nsis.svn.sourceforge.net/svnroot/nsis/NSIS/tags/' | \
|
||||
grep '<a href="' | \
|
||||
$(SED) -n 's,.*<a href="v\([0-9]\)\([^"]*\)/">.*,\1.\2,p' | \
|
||||
tail -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
|
|
Loading…
Reference in New Issue