mirror of https://git.wownero.com/dsc/mxe.git
nsis: Fix update macro
This commit is contained in:
parent
cde7bffd80
commit
92124865e0
|
@ -11,10 +11,10 @@ $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/nsis/NSIS 2/$($(PKG)_VER
|
||||||
$(PKG)_DEPS := gcc
|
$(PKG)_DEPS := gcc
|
||||||
|
|
||||||
define $(PKG)_UPDATE
|
define $(PKG)_UPDATE
|
||||||
$(WGET) -q -O- 'http://nsis.svn.sourceforge.net/viewvc/nsis/NSIS/tags/?sortby=date' | \
|
$(WGET) -q -O- 'http://sourceforge.net/p/nsis/code/HEAD/tree/NSIS/tags/' | \
|
||||||
grep '<a name="' | \
|
grep '<a href="' | \
|
||||||
$(SED) -n 's,.*<a name="v\([0-9]\)\([^"]*\)".*,\1.\2,p' | \
|
$(SED) -n 's,.*<a href="v\([0-9]\)\([^"]*\)".*,\1.\2,p' | \
|
||||||
head -1
|
tail -1
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
|
|
Loading…
Reference in New Issue