dash/depends/packages/zeromq.mk

28 lines
763 B
Makefile
Raw Normal View History

2015-05-06 02:30:20 +02:00
package=zeromq
$(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
$(package)_sha256_hash=e99f44fde25c2e4cb84ce440f87ca7d3fe3271c2b8cfbc67d55e4de25e6fe378
2015-05-06 02:30:20 +02:00
define $(package)_set_vars
$(package)_config_opts=--without-documentation --disable-shared --without-libsodium
2015-05-06 02:30:20 +02:00
$(package)_config_opts_linux=--with-pic
$(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
$(MAKE) libzmq.la
2015-05-06 02:30:20 +02:00
endef
define $(package)_stage_cmds
$(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