improved update script of package curl

This commit is contained in:
Volker Grabsch 2010-11-28 23:08:01 +01:00
parent 3f69730354
commit 4dab36fa2f
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@ $(PKG)_URL := http://curl.haxx.se/download/$($(PKG)_FILE)
$(PKG)_DEPS := gcc gnutls libidn
define $(PKG)_UPDATE
wget -q -O- 'http://curl.haxx.se/changes.html' | \
$(SED) -n 's,.*Fixed in \([0-9][^ ]*\) - .*,\1,p' | \
wget -q -O- 'http://curl.haxx.se/download/?C=M;O=D' | \
$(SED) -n 's,.*curl-\([0-9][^"]*\)\.tar.*,\1,p' | \
head -1
endef