summaryrefslogtreecommitdiffstats
path: root/src/nsis.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2009-10-09 15:12:01 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2009-10-09 15:12:01 (GMT)
commit728a1f5958a885fcfe32875f9c36b421f971aac1 (patch)
treebc73d93e6745fb7cc2094a1507a5960791283a23 /src/nsis.mk
parent8048af63497d5021244d191fc182f3e53e20ef8d (diff)
downloadmxe-728a1f5958a885fcfe32875f9c36b421f971aac1.zip
mxe-728a1f5958a885fcfe32875f9c36b421f971aac1.tar.gz
mxe-728a1f5958a885fcfe32875f9c36b421f971aac1.tar.bz2
improved version recognition of package nsis
Diffstat (limited to 'src/nsis.mk')
-rw-r--r--src/nsis.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nsis.mk b/src/nsis.mk
index f618d67..dae99a0 100644
--- a/src/nsis.mk
+++ b/src/nsis.mk
@@ -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