2018-03-19 18:26:35 -06:00
|
|
|
package=zeromq
|
2019-10-24 18:38:08 -06:00
|
|
|
$(package)_version=4.1.7
|
2018-03-19 18:26:35 -06: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-24 18:38:08 -06:00
|
|
|
$(package)_sha256_hash=31c383cfcd3be1dc8a66e448c403029e793687e70473b89c4cc0bd626e7da299
|
2019-10-31 21:38:13 -06:00
|
|
|
$(package)_patches=9114d3957725acd34aa8b8d011585812f3369411.patch 9e6745c12e0b100cd38acecc16ce7db02905e27c.patch ffe62d3398d5e0191f554f61049aa7ec9fc892ae.patch
|
2018-03-19 18:26:35 -06:00
|
|
|
|
|
|
|
define $(package)_set_vars
|
|
|
|
$(package)_config_opts=--without-documentation --disable-shared --without-libsodium --disable-curve
|
|
|
|
$(package)_config_opts_linux=--with-pic
|
2019-11-11 01:34:47 -07:00
|
|
|
$(package)_config_opts_freebsd=--with-pic
|
2018-03-19 18:26:35 -06:00
|
|
|
$(package)_cxxflags=-std=c++11
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_preprocess_cmds
|
|
|
|
patch -p1 < $($(package)_patch_dir)/9114d3957725acd34aa8b8d011585812f3369411.patch && \
|
|
|
|
patch -p1 < $($(package)_patch_dir)/9e6745c12e0b100cd38acecc16ce7db02905e27c.patch && \
|
2019-10-31 21:38:13 -06:00
|
|
|
patch -p1 < $($(package)_patch_dir)/ffe62d3398d5e0191f554f61049aa7ec9fc892ae.patch && \
|
2018-03-19 18:26:35 -06:00
|
|
|
./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 03:25:10 -06:00
|
|
|
rm -rf bin share &&\
|
|
|
|
rm lib/*.la
|
2018-03-19 18:26:35 -06:00
|
|
|
endef
|
2019-06-17 03:25:10 -06:00
|
|
|
|