2018-03-19 18:26:35 -06:00
|
|
|
package=zeromq
|
2021-10-10 03:38:38 -06:00
|
|
|
$(package)_version=4.3.4
|
|
|
|
$(package)_download_path=https://github.com/zeromq/libzmq/releases/download/v$($(package)_version)/
|
2018-03-19 18:26:35 -06:00
|
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
2021-10-10 03:38:38 -06:00
|
|
|
$(package)_sha256_hash=c593001a89f5a85dd2ddf564805deb860e02471171b3f204944857336295c3e5
|
|
|
|
$(package)_patches=06aba27b04c5822cb88a69677382a0f053367143.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
|
2021-10-10 03:38:38 -06:00
|
|
|
patch -p1 < $($(package)_patch_dir)/06aba27b04c5822cb88a69677382a0f053367143.patch
|
2018-03-19 18:26:35 -06:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_config_cmds
|
2019-11-13 06:50:17 -07:00
|
|
|
$($(package)_autoconf) AR_FLAGS=$($(package)_arflags)
|
2018-03-19 18:26:35 -06:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_build_cmds
|
2021-10-10 03:38:38 -06:00
|
|
|
$(MAKE) src/libzmq.la
|
2018-03-19 18:26:35 -06:00
|
|
|
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
|
|
|
|