Skip to content

Commit

Permalink
Depends: Add ZeroMQ package
Browse files Browse the repository at this point in the history
  • Loading branch information
theuni authored and João Barbosa committed Sep 16, 2015
1 parent 5624e05 commit 1136879
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
2 changes: 2 additions & 0 deletions depends/packages/packages.mk
Original file line number Diff line number Diff line change
@@ -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
Expand Down
26 changes: 26 additions & 0 deletions depends/packages/zeromq.mk
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions qa/pull-tester/rpc-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ testScriptsExt=(
'p2p-acceptblock.py'
);

if [ "x$ENABLE_ZMQ" = "x1" ]; then
testScripts=( ${testScripts[@]} 'zmq_test.py' )
fi

extArg="-extended"
passOn=${@#$extArg}

Expand Down
1 change: 1 addition & 0 deletions qa/pull-tester/tests-config.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ EXEEXT="@EXEEXT@"
@ENABLE_WALLET_TRUE@ENABLE_WALLET=1
@BUILD_BITCOIN_UTILS_TRUE@ENABLE_UTILS=1
@BUILD_BITCOIND_TRUE@ENABLE_BITCOIND=1
@ENABLE_ZMQ_TRUE@ENABLE_ZMQ=1

REAL_BITCOIND="$BUILDDIR/src/bitcoind${EXEEXT}"
REAL_BITCOINCLI="$BUILDDIR/src/bitcoin-cli${EXEEXT}"
Expand Down

0 comments on commit 1136879

Please sign in to comment.