X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/1d3cff733d7f863871da68a81aeb52729dc314d4..8af64dd6f7b390919d8b3707b7d4ed9d2b9175ff:/package/zlib/Makefile?ds=sidebyside diff --git a/package/zlib/Makefile b/package/zlib/Makefile index d16c79d4f..293462528 100644 --- a/package/zlib/Makefile +++ b/package/zlib/Makefile @@ -10,12 +10,11 @@ include $(TOPDIR)/rules.mk PKG_NAME:=zlib PKG_VERSION:=1.2.3 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://www.zlib.net @SF/zlib PKG_MD5SUM:=dee233bf288ee795ac96a98cc2e369b6 -PKG_CAT:=bzcat include $(INCLUDE_DIR)/package.mk @@ -50,21 +49,23 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(STAGING_DIR)/usr/include + mkdir -p $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/z{conf,lib}.h \ - $(STAGING_DIR)/usr/include/ - mkdir -p $(STAGING_DIR)/usr/lib + $(1)/usr/include/ + mkdir -p $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libz.{a,so*} \ - $(STAGING_DIR)/usr/lib/ + $(1)/usr/lib/ endef define Build/UninstallDev - rm -rf $(STAGING_DIR)/usr/include/z{conf,lib}.h \ - $(STAGING_DIR)/usr/lib/libz.{a,so*} + rm -rf $(1)/usr/include/z{conf,lib}.h \ + $(1)/usr/lib/libz.{a,so*} endef +# libz.so is needed for openssl (zlib-dynamic) define Package/zlib/install $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libz.so $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libz.so.* $(1)/usr/lib/ endef