Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Upgrade to 3.2.2

  • Loading branch information...
commit 0faa7c13912dad3337d505925bb5aa84835bcf2c 1 parent e75f3c8
@yrashk yrashk authored
Showing with 7 additions and 6 deletions.
  1. +7 −6 c_src/Makefile
View
13 c_src/Makefile
@@ -8,7 +8,7 @@ ZMQ_FLAGS=
endif
ifndef ZEROMQ_VERSION
-ZEROMQ_VERSION=v3.1.0
+ZEROMQ_VERSION=3.2.2
endif
all: $(DEPS)/zeromq3/src/.libs/libzmq.a
@@ -26,10 +26,11 @@ distclean:
$(DEPS):
@mkdir -p $(DEPS)
-$(DEPS)/zeromq3: $(DEPS)
- @git clone https://github.com/zeromq/libzmq.git $(DEPS)/zeromq3
- @echo $(ZEROMQ_VERSION)
- @cd $(DEPS)/zeromq3 && git checkout $(ZEROMQ_VERSION)
+$(DEPS)/zeromq-$(ZEROMQ_VERSION).tar.gz: $(DEPS)
+ @curl http://download.zeromq.org/zeromq-$(ZEROMQ_VERSION).tar.gz -o $(DEPS)/zeromq-$(ZEROMQ_VERSION).tar.gz
+
+$(DEPS)/zeromq3: $(DEPS)/zeromq-$(ZEROMQ_VERSION).tar.gz
+ @cd $(DEPS) && tar xzvfp zeromq-$(ZEROMQ_VERSION).tar.gz && mv zeromq-$(ZEROMQ_VERSION) zeromq3
$(DEPS)/zeromq3/src/.libs/libzmq.a: $(DEPS)/zeromq3
- @cd $(DEPS)/zeromq3 && ./autogen.sh && ./configure $(ZMQ_FLAGS) && make
+ @cd $(DEPS)/zeromq3 && ./configure $(ZMQ_FLAGS) && make
Please sign in to comment.
Something went wrong with that request. Please try again.