Hush Full Node software. We were censored from Github, this is where all development happens now.
https://hush.is
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.8 KiB
51 lines
1.8 KiB
ifeq ($(host_os),mingw32)
|
|
$(package)_version=4.2.2-1
|
|
$(package)_download_path=https://github.com/ca333/libzmq/archive/
|
|
$(package)_download_file=v$($(package)_version).tar.gz
|
|
$(package)_file_name=libzmq-$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=0e225b85ce11be23bf7eb7d3f25c6686728bf30d5c31f61c12d37bb646c69962
|
|
|
|
define $(package)_set_vars
|
|
$(package)_build_env+=
|
|
$(package)_config_opts=--enable-shared=false --enable-static --host=x86_64-w64-mingw32
|
|
$(package)_config_opts_mingw32=--enable-shared=false --enable-static --host=x86_64-w64-mingw32
|
|
$(package)_cflags=-Wno-error -Wall -Wno-pedantic-ms-format -DLIBCZMQ_EXPORTS -DZMQ_DEFINED_STDINT -lws2_32 -liphlpapi -lrpcrt4
|
|
$(package)_conf_tool=./configure
|
|
endef
|
|
else
|
|
package=zeromq
|
|
$(package)_version=4.2.1
|
|
$(package)_download_path=https://github.com/zeromq/libzmq/releases/download/v$($(package)_version)/
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=27d1e82a099228ee85a7ddb2260f40830212402c605a4a10b5e5498a7e0e9d03
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts=--without-documentation --disable-shared --disable-curve
|
|
$(package)_config_opts_linux=--with-pic
|
|
endef
|
|
endif
|
|
|
|
ifeq ($(host_os),mingw32)
|
|
define $(package)_preprocess_cmds
|
|
cd $($(package)_build_subdir); ./autogen.sh
|
|
endef
|
|
define $(package)_config_cmds
|
|
$($(package)_conf_tool) $($(package)_config_opts) CFLAGS="-Wno-error -Wall -Wno-pedantic-ms-format -DLIBCZMQ_EXPORTS -DZMQ_DEFINED_STDINT -lws2_32 -liphlpapi -lrpcrt4"
|
|
endef
|
|
else
|
|
define $(package)_config_cmds
|
|
$($(package)_autoconf)
|
|
endef
|
|
endif
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE) src/libzmq.la
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install-libLTLIBRARIES install-includeHEADERS install-pkgconfigDATA
|
|
endef
|
|
|
|
define $(package)_postprocess_cmds
|
|
rm -rf bin share
|
|
endef
|
|
|