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