changeset 478:fe5f19dafd09

improved version recognition of package nsis
author Volker Grabsch <vog@notjusthosting.com>
date Fri, 09 Oct 2009 17:12:01 +0200
parents ffca44340844
children c272ba358d48
files src/nsis.mk
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/nsis.mk	Fri Oct 09 16:47:01 2009 +0200
+++ b/src/nsis.mk	Fri Oct 09 17:12:01 2009 +0200
@@ -31,10 +31,10 @@
 $(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