aboutsummaryrefslogtreecommitdiff
path: root/depends/packages/zeromq.mk
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2016-12-01 12:39:31 +0800
committerfanquake <fanquake@gmail.com>2017-11-29 19:31:50 +0800
commit387879dd4cbecd4d39bcf691bfe910047e5ed85c (patch)
tree7eda5229b5389de077751e1bc9a8601b9c5e9e1b /depends/packages/zeromq.mk
parent26efc220a13aa3413f6e55e311e8991445104f82 (diff)
[depends] ZeroMQ 4.2.2
Diffstat (limited to 'depends/packages/zeromq.mk')
-rw-r--r--depends/packages/zeromq.mk13
1 files changed, 5 insertions, 8 deletions
diff --git a/depends/packages/zeromq.mk b/depends/packages/zeromq.mk
index 01146c26f6..6db75d7927 100644
--- a/depends/packages/zeromq.mk
+++ b/depends/packages/zeromq.mk
@@ -1,19 +1,16 @@
package=zeromq
-$(package)_version=4.1.5
-$(package)_download_path=https://github.com/zeromq/zeromq4-1/releases/download/v$($(package)_version)/
+$(package)_version=4.2.2
+$(package)_download_path=https://github.com/zeromq/libzmq/releases/download/v$($(package)_version)/
$(package)_file_name=$(package)-$($(package)_version).tar.gz
-$(package)_sha256_hash=04aac57f081ffa3a2ee5ed04887be9e205df3a7ddade0027460b8042432bdbcf
-$(package)_patches=9114d3957725acd34aa8b8d011585812f3369411.patch 9e6745c12e0b100cd38acecc16ce7db02905e27c.patch
+$(package)_sha256_hash=5b23f4ca9ef545d5bd3af55d305765e3ee06b986263b31967435d285a3e6df6b
define $(package)_set_vars
- $(package)_config_opts=--without-documentation --disable-shared --without-libsodium --disable-curve
+ $(package)_config_opts=--without-docs --disable-shared --without-libsodium --disable-curve --disable-curve-keygen --disable-perf
$(package)_config_opts_linux=--with-pic
$(package)_cxxflags=-std=c++11
endef
define $(package)_preprocess_cmds
- patch -p1 < $($(package)_patch_dir)/9114d3957725acd34aa8b8d011585812f3369411.patch && \
- patch -p1 < $($(package)_patch_dir)/9e6745c12e0b100cd38acecc16ce7db02905e27c.patch && \
./autogen.sh
endef
@@ -22,7 +19,7 @@ define $(package)_config_cmds
endef
define $(package)_build_cmds
- $(MAKE) libzmq.la
+ $(MAKE) src/libzmq.la
endef
define $(package)_stage_cmds