Mercurial > mxe-octave
comparison src/zeromq.mk @ 4567:f89c67818a6b
zeromq: update to v4.2.2
* src/zeromq.mk: update version/checksum, implement PKG_UPDATE
author | John D |
---|---|
date | Thu, 30 Nov 2017 13:41:24 -0500 |
parents | cdd39c428e50 |
children | 8662d79455ad |
comparison
equal
deleted
inserted
replaced
4566:96874b227ada | 4567:f89c67818a6b |
---|---|
1 # This file is part of MXE. | 1 # This file is part of MXE. |
2 # See index.html for further information. | 2 # See index.html for further information. |
3 | 3 |
4 PKG := zeromq | 4 PKG := zeromq |
5 $(PKG)_IGNORE := | 5 $(PKG)_IGNORE := |
6 $(PKG)_VERSION := 4.2.1 | 6 $(PKG)_VERSION := 4.2.2 |
7 $(PKG)_CHECKSUM := 2145aef176dbc944822a9b4585273d17e9b9fb7b | 7 $(PKG)_CHECKSUM := 5ef9b1c385f4b897e6a9e4847e5355758c20de76 |
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | 8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | 9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
10 $(PKG)_URL := http://github.com/$(PKG)/libzmq/releases/download/v$($(PKG)_VERSION)/$($(PKG)_FILE) | 10 $(PKG)_URL := http://github.com/$(PKG)/libzmq/releases/download/v$($(PKG)_VERSION)/$($(PKG)_FILE) |
11 $(PKG)_DEPS := pthreads | 11 $(PKG)_DEPS := pthreads |
12 | 12 |
13 define $(PKG)_UPDATE | 13 define $(PKG)_UPDATE |
14 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; | 14 $(WGET) -q -O- 'https://github.com/zeromq/libzmq/tags' | \ |
15 echo $($(PKG)_VERSION) | 15 $(SED) -n 's|.*releases/tag/v\([^"]*\).*|\1|p' | $(SORT) -V | \ |
16 tail -1 | |
16 endef | 17 endef |
17 | 18 |
18 define $(PKG)_BUILD | 19 define $(PKG)_BUILD |
19 cd '$(1)' && ./configure \ | 20 cd '$(1)' && ./configure \ |
20 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | 21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |