summaryrefslogtreecommitdiffstats
path: root/src/curl.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-11-28 22:08:01 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-11-28 22:08:01 (GMT)
commit4dab36fa2fe229658c308e924debfcc9e7793284 (patch)
tree26d90016cefc0688d87a07bfb361921e1b18914d /src/curl.mk
parent3f697303548dfd2250942495b2459ba6987742a1 (diff)
downloadmxe-4dab36fa2fe229658c308e924debfcc9e7793284.zip
mxe-4dab36fa2fe229658c308e924debfcc9e7793284.tar.gz
mxe-4dab36fa2fe229658c308e924debfcc9e7793284.tar.bz2
improved update script of package curl
Diffstat (limited to 'src/curl.mk')
-rw-r--r--src/curl.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/curl.mk b/src/curl.mk
index b762c77..2e86597 100644
--- a/src/curl.mk
+++ b/src/curl.mk
@@ -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