X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/eba4b4bcfc49afc8a3d1649751765f1e3285db65..dfdc119af886c068255becc9a8936fef3fc4a1df:/openwrt/package/openssl/Makefile diff --git a/openwrt/package/openssl/Makefile b/openwrt/package/openssl/Makefile index eb566c53f..8b6b83a79 100644 --- a/openwrt/package/openssl/Makefile +++ b/openwrt/package/openssl/Makefile @@ -1,8 +1,11 @@ +# $Id$ + include $(TOPDIR)/rules.mk PKG_NAME := openssl PKG_VERSION := 0.9.7e PKG_RELEASE := 1 +PKG_MD5SUM := a8777164bca38d84e5eb2b1535223474 PKG_SOURCE_SITE := http://www.openssl.org/source PKG_SOURCE_FILE := $(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -15,7 +18,7 @@ OPENSSL_NO_CIPHERS:=no-idea no-mdc2 no-rc5 no-rc2 no-md2 no-md4 $(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) @@ -65,12 +68,12 @@ $(IPKG_STATE_DIR)/info/openssl.list: $(PKG_IPK) source: $(DL_DIR)/$(PKG_SOURCE_FILE) prepare: $(PKG_BUILD_DIR)/.patched -compile: $(STAGING_DIR)/lib/libssl.so $(PACKAGE_DIR)/$(PKG_IPK) +compile: $(STAGING_DIR)/lib/libssl.so $(PKG_IPK) install: $(PKG_ZLIB) $(IPKG_STATE_DIR)/info/openssl.list clean: rm -rf $(PKG_BUILD_DIR) rm -f $(STAGING_DIR)/lib/libssl* rm -f $(STAGING_DIR)/lib/libcrypto* - rm -f $(PACKAGE_DIR)/$(PKG_NAME)\*.ipk + rm -f $(PKG_IPK)