2018-03-20 00:26:35 +00:00
|
|
|
package=zeromq
|
2023-10-09 22:08:44 +00:00
|
|
|
$(package)_version=4.3.5
|
2021-10-10 09:38:38 +00:00
|
|
|
$(package)_download_path=https://github.com/zeromq/libzmq/releases/download/v$($(package)_version)/
|
2018-03-20 00:26:35 +00:00
|
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
2023-10-09 22:08:44 +00:00
|
|
|
$(package)_sha256_hash=6653ef5910f17954861fe72332e68b03ca6e4d9c7160eb3a8de5a5a913bfab43
|
2018-03-20 00:26:35 +00: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 08:34:47 +00:00
|
|
|
$(package)_config_opts_freebsd=--with-pic
|
2018-03-20 00:26:35 +00:00
|
|
|
$(package)_cxxflags=-std=c++11
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_config_cmds
|
2019-11-13 13:50:17 +00:00
|
|
|
$($(package)_autoconf) AR_FLAGS=$($(package)_arflags)
|
2018-03-20 00:26:35 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_build_cmds
|
2021-10-10 09:38:38 +00:00
|
|
|
$(MAKE) src/libzmq.la
|
2018-03-20 00:26:35 +00: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 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
|
|
|
|