2018-03-19 18:26:35 -06:00
|
|
|
package=zeromq
|
2023-10-09 16:08:44 -06:00
|
|
|
$(package)_version=4.3.5
|
2021-10-10 03:38:38 -06:00
|
|
|
$(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
|
2023-10-09 16:08:44 -06:00
|
|
|
$(package)_sha256_hash=6653ef5910f17954861fe72332e68b03ca6e4d9c7160eb3a8de5a5a913bfab43
|
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)_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
|
|
|
|