2018-03-20 00:26:35 +00:00
|
|
|
package=zeromq
|
2019-10-25 00:38:08 +00:00
|
|
|
$(package)_version=4.1.7
|
2018-03-20 00:26:35 +00:00
|
|
|
$(package)_download_path=https://github.com/zeromq/zeromq4-1/releases/download/v$($(package)_version)/
|
|
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
2019-10-25 00:38:08 +00:00
|
|
|
$(package)_sha256_hash=31c383cfcd3be1dc8a66e448c403029e793687e70473b89c4cc0bd626e7da299
|
2018-03-20 00:26:35 +00:00
|
|
|
$(package)_patches=9114d3957725acd34aa8b8d011585812f3369411.patch 9e6745c12e0b100cd38acecc16ce7db02905e27c.patch
|
|
|
|
|
|
|
|
define $(package)_set_vars
|
|
|
|
$(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
|
|
|
|
|
|
|
|
define $(package)_build_cmds
|
|
|
|
$(MAKE) libzmq.la
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_stage_cmds
|
|
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install-libLTLIBRARIES install-includeHEADERS install-pkgconfigDATA
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_postprocess_cmds
|
2019-06-17 09:25:10 +00:00
|
|
|
rm -rf bin share &&\
|
|
|
|
rm lib/*.la
|
2018-03-20 00:26:35 +00:00
|
|
|
endef
|
2019-06-17 09:25:10 +00:00
|
|
|
|