aboutsummaryrefslogtreecommitdiff
path: root/depends/packages/zeromq.mk
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2016-06-22 17:56:07 +0800
committerfanquake <fanquake@gmail.com>2016-07-21 16:20:17 +0800
commita615386552f9981dc024cc4a0df758f8b0fda4d8 (patch)
tree9c10f521cff8dc9b9be0a5f2377fd703b13a1479 /depends/packages/zeromq.mk
parent8e048f40cc25b6ad3f49d2828c8562b657d91ced (diff)
[depends] ZeroMQ 4.1.5
Diffstat (limited to 'depends/packages/zeromq.mk')
-rw-r--r--depends/packages/zeromq.mk15
1 files changed, 11 insertions, 4 deletions
diff --git a/depends/packages/zeromq.mk b/depends/packages/zeromq.mk
index f8901f72c2..01146c26f6 100644
--- a/depends/packages/zeromq.mk
+++ b/depends/packages/zeromq.mk
@@ -1,15 +1,22 @@
package=zeromq
-$(package)_version=4.1.4
-$(package)_download_path=http://download.zeromq.org
+$(package)_version=4.1.5
+$(package)_download_path=https://github.com/zeromq/zeromq4-1/releases/download/v$($(package)_version)/
$(package)_file_name=$(package)-$($(package)_version).tar.gz
-$(package)_sha256_hash=e99f44fde25c2e4cb84ce440f87ca7d3fe3271c2b8cfbc67d55e4de25e6fe378
+$(package)_sha256_hash=04aac57f081ffa3a2ee5ed04887be9e205df3a7ddade0027460b8042432bdbcf
+$(package)_patches=9114d3957725acd34aa8b8d011585812f3369411.patch 9e6745c12e0b100cd38acecc16ce7db02905e27c.patch
define $(package)_set_vars
- $(package)_config_opts=--without-documentation --disable-shared --without-libsodium
+ $(package)_config_opts=--without-documentation --disable-shared --without-libsodium --disable-curve
$(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
+
define $(package)_config_cmds
$($(package)_autoconf)
endef