Since zeromq doesn't maintain a single canonical URL for a given
version, we try both possible locations before giving up.
ZMQ=zeromq-2.1.4
ZMQ_BASEURL=http://download.zeromq.org
+ZMQ_BASEURL_ALT=http://download.zeromq.org/historic
ZMQ_DIR=$(switch_srcdir)/libs/$(ZMQ)
ZMQ_BUILDDIR=$(switch_builddir)/libs/$(ZMQ)
include $(BASE)/build/modmake.rules
$(ZMQ_DIR):
- $(GETLIB) $(ZMQ_BASEURL) $(ZMQ).tar.gz
+ $(GETLIB) $(ZMQ_BASEURL) $(ZMQ).tar.gz || $(GETLIB) $(ZMQ_BASEURL_ALT) $(ZMQ).tar.gz
cd $(ZMQ_DIR) && ./autogen.sh
$(ZMQ_BUILDDIR)/Makefile: $(ZMQ_DIR)