X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3af82587f3b1a1cfa76bf7990dddf0548ad7f981..62f204e188672e6a63b19b6994d230da5c019953:/package/openssl/Makefile diff --git a/package/openssl/Makefile b/package/openssl/Makefile index eb566c53f..afa5f304e 100644 --- a/package/openssl/Makefile +++ b/package/openssl/Makefile @@ -1,8 +1,11 @@ +# $Id$ + include $(TOPDIR)/rules.mk PKG_NAME := openssl -PKG_VERSION := 0.9.7e +PKG_VERSION := 0.9.7f PKG_RELEASE := 1 +PKG_MD5SUM := b2d37d7eb8a5a5040d834105d5ae1a50 PKG_SOURCE_SITE := http://www.openssl.org/source PKG_SOURCE_FILE := $(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -13,9 +16,11 @@ PKG_IPK := $(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk OPENSSL_NO_CIPHERS:=no-idea no-mdc2 no-rc5 no-rc2 no-md2 no-md4 +.NOTPARALLEL: + $(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) @@ -35,13 +40,13 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.patched touch $(PKG_BUILD_DIR)/.configured $(PKG_BUILD_DIR)/apps/openssl: $(PKG_BUILD_DIR)/.configured - $(MAKE) CC=$(TARGET_CC) -C $(PKG_BUILD_DIR) all build-shared + $(MAKE) -j1 CC=$(TARGET_CC) -C $(PKG_BUILD_DIR) all build-shared # Work around openssl build bug to link libssl.so with libcrypto.so. -rm $(PKG_BUILD_DIR)/libssl.so.*.*.* - $(MAKE) CC=$(TARGET_CC) -C $(PKG_BUILD_DIR) do_linux-shared + $(MAKE) -j1 CC=$(TARGET_CC) -C $(PKG_BUILD_DIR) do_linux-shared $(STAGING_DIR)/lib/libssl.so: $(PKG_BUILD_DIR)/apps/openssl - $(MAKE) CC=$(TARGET_CC) INSTALL_PREFIX=$(STAGING_DIR) -C $(PKG_BUILD_DIR) install_sw + $(MAKE) -j1 CC=$(TARGET_CC) INSTALL_PREFIX=$(STAGING_DIR) -C $(PKG_BUILD_DIR) install_sw cp -fa $(PKG_BUILD_DIR)/libcrypto.so* $(STAGING_DIR)/lib/ chmod a-x $(STAGING_DIR)/lib/libcrypto.so.0.9.7 (cd $(STAGING_DIR)/lib; ln -fs libcrypto.so.0.9.7 libcrypto.so) @@ -65,12 +70,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)