2015-05-06 02:30:20 +02:00
|
|
|
package=zeromq
|
2016-06-08 14:24:48 +02:00
|
|
|
$(package)_version=4.1.4
|
2015-05-06 02:30:20 +02:00
|
|
|
$(package)_download_path=http://download.zeromq.org
|
|
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
2016-06-08 14:24:48 +02:00
|
|
|
$(package)_sha256_hash=e99f44fde25c2e4cb84ce440f87ca7d3fe3271c2b8cfbc67d55e4de25e6fe378
|
2015-05-06 02:30:20 +02:00
|
|
|
|
|
|
|
define $(package)_set_vars
|
2016-06-08 14:24:48 +02:00
|
|
|
$(package)_config_opts=--without-documentation --disable-shared --without-libsodium
|
2015-05-06 02:30:20 +02:00
|
|
|
$(package)_config_opts_linux=--with-pic
|
2017-05-05 13:27:27 +02:00
|
|
|
$(package)_cxxflags=-std=c++11
|
2015-05-06 02:30:20 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_config_cmds
|
|
|
|
$($(package)_autoconf)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_build_cmds
|
2016-06-08 14:24:48 +02:00
|
|
|
$(MAKE) libzmq.la
|
2015-05-06 02:30:20 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_stage_cmds
|
2016-06-08 14:24:48 +02:00
|
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install-libLTLIBRARIES install-includeHEADERS install-pkgconfigDATA
|
2015-05-06 02:30:20 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_postprocess_cmds
|
|
|
|
rm -rf bin share
|
|
|
|
endef
|