aboutsummaryrefslogtreecommitdiff
path: root/depends/packages
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2015-05-05 20:30:20 -0400
committerJoão Barbosa <joao@bitreserve.org>2015-09-16 10:59:32 +0100
commit1136879df8af2358efb706c5af886778fbd94989 (patch)
treea4082a5dbd33bc7373055989902ada818172a038 /depends/packages
parent5624e055b310284e8dfd68833eea7f7246316354 (diff)
Depends: Add ZeroMQ package
Diffstat (limited to 'depends/packages')
-rw-r--r--depends/packages/packages.mk2
-rw-r--r--depends/packages/zeromq.mk26
2 files changed, 28 insertions, 0 deletions
diff --git a/depends/packages/packages.mk b/depends/packages/packages.mk
index a0d377bb43..fc1e5f0b68 100644
--- a/depends/packages/packages.mk
+++ b/depends/packages/packages.mk
@@ -1,4 +1,6 @@
packages:=boost openssl libevent
+packages_darwin:=zeromq
+packages_linux:=zeromq
native_packages := native_ccache native_comparisontool
qt_native_packages = native_protobuf
diff --git a/depends/packages/zeromq.mk b/depends/packages/zeromq.mk
new file mode 100644
index 0000000000..24e8e5f1c9
--- /dev/null
+++ b/depends/packages/zeromq.mk
@@ -0,0 +1,26 @@
+package=zeromq
+$(package)_version=4.0.4
+$(package)_download_path=http://download.zeromq.org
+$(package)_file_name=$(package)-$($(package)_version).tar.gz
+$(package)_sha256_hash=1ef71d46e94f33e27dd5a1661ed626cd39be4d2d6967792a275040e34457d399
+
+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