2015-05-05 17:30:20 -07:00
|
|
|
package=zeromq
|
2015-11-11 01:53:34 -08:00
|
|
|
$(package)_version=4.0.7
|
2015-05-05 17:30:20 -07:00
|
|
|
$(package)_download_path=http://download.zeromq.org
|
|
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
2015-11-11 01:53:34 -08:00
|
|
|
$(package)_sha256_hash=e00b2967e074990d0538361cc79084a0a92892df2c6e7585da34e4c61ee47b03
|
2015-05-05 17:30:20 -07:00
|
|
|
|
|
|
|
define $(package)_set_vars
|
|
|
|
$(package)_config_opts=--without-documentation --disable-shared
|
|
|
|
$(package)_config_opts_linux=--with-pic
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_config_cmds
|
|
|
|
$($(package)_autoconf)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_build_cmds
|
|
|
|
$(MAKE) -C src
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_stage_cmds
|
|
|
|
$(MAKE) -C src DESTDIR=$($(package)_staging_dir) install
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_postprocess_cmds
|
|
|
|
rm -rf bin share
|
|
|
|
endef
|