summaryrefslogtreecommitdiffstats
path: root/src/zlib.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-04-20 12:36:46 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-04-20 12:36:46 (GMT)
commite484f1bd922c8a804b7b290c047ad65eed15880b (patch)
treebc64698cf7ceb2e15c613e6298506606eb146cea /src/zlib.mk
parente555c3b9d2e8e64a7852580f85ae295ba87b53d5 (diff)
downloadmxe-e484f1bd922c8a804b7b290c047ad65eed15880b.zip
mxe-e484f1bd922c8a804b7b290c047ad65eed15880b.tar.gz
mxe-e484f1bd922c8a804b7b290c047ad65eed15880b.tar.bz2
improved URLs and version recognition of package zlib
Diffstat (limited to 'src/zlib.mk')
-rw-r--r--src/zlib.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/zlib.mk b/src/zlib.mk
index 8824f17..cac063d 100644
--- a/src/zlib.mk
+++ b/src/zlib.mk
@@ -8,14 +8,14 @@ $(PKG)_VERSION := 1.2.4
$(PKG)_CHECKSUM := 8cf10521c1927daa5e12efc5e1725a0d70e579f3
$(PKG)_SUBDIR := zlib-$($(PKG)_VERSION)
$(PKG)_FILE := zlib-$($(PKG)_VERSION).tar.bz2
-$(PKG)_WEBSITE := http://www.zlib.net/
-$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/libpng/zlib/$($(PKG)_VERSION)/$($(PKG)_FILE)
+$(PKG)_WEBSITE := http://zlib.net/
+$(PKG)_URL := http://zlib.net/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
- $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/libpng/files/zlib/) | \
- $(SED) -n 's,.*zlib-\([0-9][^>]*\)\.tar.*,\1,p' | \
- tail -1
+ wget -q -O- 'http://zlib.net/' | \
+ $(SED) -n 's,.*zlib-\([0-9][^>]*\)\.tar.*,\1,ip' | \
+ head -1
endef
define $(PKG)_BUILD