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