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
8 define $(package)_set_vars
9 $(package)_config_opts=--without-documentation --disable-shared --without-libsodium --disable-curve
10 $(package)_config_opts_linux=--with-pic
13 define $(package)_preprocess_cmds
14 patch -p1 < $($(package)_patch_dir)/9114d3957725acd34aa8b8d011585812f3369411.patch && \
15 patch -p1 < $($(package)_patch_dir)/9e6745c12e0b100cd38acecc16ce7db02905e27c.patch && \
19 define $(package)_config_cmds
20 $($(package)_autoconf)
23 define $(package)_build_cmds
27 define $(package)_stage_cmds
28 $(MAKE) DESTDIR=$($(package)_staging_dir) install-libLTLIBRARIES install-includeHEADERS install-pkgconfigDATA
31 define $(package)_postprocess_cmds