mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
wowlet.exe reached 27% then hit 'zmq.h: No such file' — feather strips zeromq from depends (its wallet does not use zmq) but wownero cryptonote_core/net does. Port the wownero zeromq.mk + patch, register it in packages. Also switch the depends caches to restore + save(if:always) so the completed toolchain banks even when the wowlet build fails (auto post-save is skipped on job failure).
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
package=zeromq
|
|
$(package)_version=4.3.4
|
|
$(package)_download_path=https://github.com/zeromq/libzmq/releases/download/v$($(package)_version)/
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=c593001a89f5a85dd2ddf564805deb860e02471171b3f204944857336295c3e5
|
|
$(package)_patches=06aba27b04c5822cb88a69677382a0f053367143.patch
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts=--without-documentation --disable-shared --without-libsodium --disable-curve
|
|
$(package)_config_opts_linux=--with-pic
|
|
$(package)_config_opts_freebsd=--with-pic
|
|
$(package)_cxxflags=-std=c++11
|
|
endef
|
|
|
|
define $(package)_preprocess_cmds
|
|
patch -p1 < $($(package)_patch_dir)/06aba27b04c5822cb88a69677382a0f053367143.patch
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
$($(package)_autoconf) AR_FLAGS=$($(package)_arflags)
|
|
endef
|
|
|
|
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 &&\
|
|
rm lib/*.la
|
|
endef
|
|
|