improved version recognition of package nsis

This commit is contained in:
Volker Grabsch 2009-10-09 17:12:01 +02:00
parent 8048af6349
commit 728a1f5958
1 changed files with 4 additions and 4 deletions

View File

@ -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