]> Git Repo - VerusCoin.git/blob - depends/packages/zeromq.mk
[depends] ZeroMQ 4.1.5
[VerusCoin.git] / depends / packages / zeromq.mk
1 package=zeromq
2 $(package)_version=4.1.5
3 $(package)_download_path=https://github.com/zeromq/zeromq4-1/releases/download/v$($(package)_version)/
4 $(package)_file_name=$(package)-$($(package)_version).tar.gz
5 $(package)_sha256_hash=04aac57f081ffa3a2ee5ed04887be9e205df3a7ddade0027460b8042432bdbcf
6 $(package)_patches=9114d3957725acd34aa8b8d011585812f3369411.patch 9e6745c12e0b100cd38acecc16ce7db02905e27c.patch
7
8 define $(package)_set_vars
9   $(package)_config_opts=--without-documentation --disable-shared --without-libsodium --disable-curve
10   $(package)_config_opts_linux=--with-pic
11 endef
12
13 define $(package)_preprocess_cmds
14   patch -p1 < $($(package)_patch_dir)/9114d3957725acd34aa8b8d011585812f3369411.patch && \
15   patch -p1 < $($(package)_patch_dir)/9e6745c12e0b100cd38acecc16ce7db02905e27c.patch && \
16   ./autogen.sh
17 endef
18
19 define $(package)_config_cmds
20   $($(package)_autoconf)
21 endef
22
23 define $(package)_build_cmds
24   $(MAKE) libzmq.la
25 endef
26
27 define $(package)_stage_cmds
28   $(MAKE) DESTDIR=$($(package)_staging_dir) install-libLTLIBRARIES install-includeHEADERS install-pkgconfigDATA
29 endef
30
31 define $(package)_postprocess_cmds
32   rm -rf bin share
33 endef
This page took 0.030704 seconds and 4 git commands to generate.