mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 03:03:17 +00:00
35 lines
1.1 KiB
Makefile
35 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
|
|
|