X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3af82587f3b1a1cfa76bf7990dddf0548ad7f981..ce022c47710859a697219ab87d1db655332c4d62:/package/zlib/Makefile diff --git a/package/zlib/Makefile b/package/zlib/Makefile index 6d9144f16..d09d4378a 100644 --- a/package/zlib/Makefile +++ b/package/zlib/Makefile @@ -1,8 +1,11 @@ +# $Id$ + include $(TOPDIR)/rules.mk PKG_NAME := zlib PKG_VERSION := 1.2.2 PKG_RELEASE := 1 +PKG_MD5SUM := 68bd51aaa6558c3bc3fd4890e53413de PKG_SOURCE_SITE := http://www.zlib.net/ PKG_SOURCE_FILE := $(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -14,7 +17,7 @@ PKG_IPK := $(PACKAGE_DIR)/zlib_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk $(DL_DIR)/$(PKG_SOURCE_FILE): mkdir -p $(DL_DIR) - $(WGET) -P $(DL_DIR) $(PKG_SOURCE_SITE)/$(PKG_SOURCE_FILE) + $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) $(PKG_MD5SUM) $(PKG_SOURCE_SITE) $(PKG_BUILD_DIR)/.patched: $(DL_DIR)/$(PKG_SOURCE_FILE) mkdir -p $(TOOL_BUILD_DIR) @@ -45,7 +48,7 @@ $(PKG_IPK): $(STAGING_DIR)/lib/libz.so mkdir -p $(PACKAGE_DIR) $(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_BUILD_DIR)/ipkg/zlib zlib.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH) mkdir -p $(PKG_BUILD_DIR)/ipkg/zlib/usr/lib - cp -a $(PKG_BUILD_DIR)/libz.so* $(PKG_BUILD_DIR)/ipkg/zlib/usr/lib + cp -a $(PKG_BUILD_DIR)/libz.so.* $(PKG_BUILD_DIR)/ipkg/zlib/usr/lib $(STRIP) $(PKG_BUILD_DIR)/ipkg/zlib/usr/lib/* $(IPKG_BUILD) $(PKG_BUILD_DIR)/ipkg/zlib $(PACKAGE_DIR)