Skip to content

Commit 1136879

Browse files
theuniJoão Barbosa
authored andcommitted
Depends: Add ZeroMQ package
1 parent 5624e05 commit 1136879

File tree

4 files changed

+33
-0
lines changed

4 files changed

+33
-0
lines changed

depends/packages/packages.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
packages:=boost openssl libevent
2+
packages_darwin:=zeromq
3+
packages_linux:=zeromq
24
native_packages := native_ccache native_comparisontool
35

46
qt_native_packages = native_protobuf

depends/packages/zeromq.mk

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
package=zeromq
2+
$(package)_version=4.0.4
3+
$(package)_download_path=http://download.zeromq.org
4+
$(package)_file_name=$(package)-$($(package)_version).tar.gz
5+
$(package)_sha256_hash=1ef71d46e94f33e27dd5a1661ed626cd39be4d2d6967792a275040e34457d399
6+
7+
define $(package)_set_vars
8+
$(package)_config_opts=--without-documentation --disable-shared
9+
$(package)_config_opts_linux=--with-pic
10+
endef
11+
12+
define $(package)_config_cmds
13+
$($(package)_autoconf)
14+
endef
15+
16+
define $(package)_build_cmds
17+
$(MAKE) -C src
18+
endef
19+
20+
define $(package)_stage_cmds
21+
$(MAKE) -C src DESTDIR=$($(package)_staging_dir) install
22+
endef
23+
24+
define $(package)_postprocess_cmds
25+
rm -rf bin share
26+
endef

qa/pull-tester/rpc-tests.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ testScriptsExt=(
5959
'p2p-acceptblock.py'
6060
);
6161

62+
if [ "x$ENABLE_ZMQ" = "x1" ]; then
63+
testScripts=( ${testScripts[@]} 'zmq_test.py' )
64+
fi
65+
6266
extArg="-extended"
6367
passOn=${@#$extArg}
6468

qa/pull-tester/tests-config.sh.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ EXEEXT="@EXEEXT@"
1010
@ENABLE_WALLET_TRUE@ENABLE_WALLET=1
1111
@BUILD_BITCOIN_UTILS_TRUE@ENABLE_UTILS=1
1212
@BUILD_BITCOIND_TRUE@ENABLE_BITCOIND=1
13+
@ENABLE_ZMQ_TRUE@ENABLE_ZMQ=1
1314

1415
REAL_BITCOIND="$BUILDDIR/src/bitcoind${EXEEXT}"
1516
REAL_BITCOINCLI="$BUILDDIR/src/bitcoin-cli${EXEEXT}"

0 commit comments

Comments
 (0)