File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 33
44test -d zmq || mkdir zmq
55
6- export ZMQ=b539733cee0f47f9bf1a70dc7cb7ff20410d3380 # zeromq-4.1.5 prerelease for tweetnacl support
6+ ZMQ=4.1.5
7+ ZMQ_REPO=zeromq/zeromq4-1
8+
79realpath () {
810 [[ $1 = /* ]] && echo " $1 " || echo " $PWD /${1# ./ } "
911}
1012export ZMQ_PREFIX=" $( dirname $( realpath $0 ) ) /zmq"
11- export ZMQ_SRC_DIR=zeromq4-1 -$ZMQ
13+ export ZMQ_SRC_DIR=zeromq -$ZMQ
1214cd $ZMQ_PREFIX
1315
1416export CFLAGS=-fPIC
1517export CXXFLAGS=-fPIC
1618export PKG_CONFIG_PATH=$ZMQ_PREFIX /lib/pkgconfig
1719
18- test -f zeromq-$ZMQ .tar.gz || wget https://github.com/zeromq/zeromq4-1/archive/ $ZMQ .tar.gz -O zeromq-$ZMQ .tar.gz
20+ test -f zeromq-$ZMQ .tar.gz || wget https://github.com/$ZMQ_REPO /releases/download/v $ZMQ /zeromq- $ZMQ .tar.gz -O zeromq-$ZMQ .tar.gz
1921test -d $ZMQ_SRC_DIR || tar xzf zeromq-$ZMQ .tar.gz
2022cd $ZMQ_SRC_DIR
2123
You can’t perform that action at this time.
0 commit comments