improved version recognition of package: mxml

This commit is contained in:
Volker Grabsch 2010-11-26 23:22:52 +01:00
parent f7436a8ba3
commit 32b068a6b9
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@ $(PKG)_URL := http://ftp.easysw.com/pub/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_F
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
wget -q -O- 'http://www.minixml.org/software.php' | \
$(SED) -n 's,.*mxml-\([0-9][^>]*\)\.tar.*,\1,ip' | \
wget -q -O- 'http://ftp.easysw.com/pub/mxml/?C=M;O=D' | \
$(SED) -n 's,.*<a href="\([0-9][^"]*\)/.*,\1,p' | \
head -1
endef