$(eval $(call PKG_template,ZLIB,zlib,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,ZLIB,zlib,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) $(CFLAGS_LARGEFILE)" \
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) $(CFLAGS_LARGEFILE)" \
$(RSTRIP) $(IDIR_ZLIB)
$(IPKG_BUILD) $(IDIR_ZLIB) $(PACKAGE_DIR)
$(STAGING_DIR)/usr/lib/libz.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
$(RSTRIP) $(IDIR_ZLIB)
$(IPKG_BUILD) $(IDIR_ZLIB) $(PACKAGE_DIR)
$(STAGING_DIR)/usr/lib/libz.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
- rm -rf $(STAGING_DIR)/usr/include/z{conf,lib}.h
- rm -rf $(STAGING_DIR)/usr/lib/libz.{a,so*}
+ rm -rf $(STAGING_DIR)/usr/include/zconf.h
+ rm -rf $(STAGING_DIR)/usr/include/zlib.h
+ rm -rf $(STAGING_DIR)/usr/lib/libz.*