diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2014-07-23 01:31:30 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2014-08-08 15:10:46 -0400 |
commit | 1dec09b341f61836147d87656aea7f7be02aab6d (patch) | |
tree | bda4c72a414edf94b91537eb2fe9c6da5c6942b8 /depends/packages/native_openssl.mk | |
parent | 36065cc529bb9be5655fcaaad2746edb7b6f4ddb (diff) |
depends: add shared dependency builder
See the README's in depends for documentation
Diffstat (limited to 'depends/packages/native_openssl.mk')
-rw-r--r-- | depends/packages/native_openssl.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/depends/packages/native_openssl.mk b/depends/packages/native_openssl.mk new file mode 100644 index 0000000000..1f25d6afcc --- /dev/null +++ b/depends/packages/native_openssl.mk @@ -0,0 +1,21 @@ +package=native_openssl +$(package)_version=1.0.1h +$(package)_download_path=https://www.openssl.org/source +$(package)_file_name=openssl-$($(package)_version).tar.gz +$(package)_sha256_hash=9d1c8a9836aa63e2c6adb684186cbd4371c9e9dcc01d6e3bb447abf2d4d3d093 +define $(package)_set_vars +$(package)_build_config_opts= --prefix=$(build_prefix) no-zlib no-shared no-krb5C linux-generic32 -m32 +endef + +define $(package)_config_cmds + ./Configure $($(package)_build_config_opts) &&\ + sed -i "s|engines apps test|engines|" Makefile +endef + +define $(package)_build_cmds + $(MAKE) -j1 +endef + +define $(package)_stage_cmds + $(MAKE) INSTALL_PREFIX=$($(package)_staging_dir) -j1 install_sw +endef |