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