Merge pull request #2038 from twMr7/master

[cppzmq] Update to 4.2.2
This commit is contained in:
Robert Schumacher 2017-10-23 11:44:59 -07:00 committed by GitHub
commit a9b7cf32ce
2 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,4 @@
Source: cppzmq
Version: 4.2.1
Version: 4.2.2
Build-Depends: zeromq
Description: lightweight messaging kernel, C++ bindings

View File

@ -1,12 +1,13 @@
#header-only library
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/cppzmq-4.2.1)
vcpkg_download_distfile(ARCHIVE
URLS "https://github.com/zeromq/cppzmq/archive/v4.2.1.zip"
FILENAME "cppzmq-4.2.1.zip"
SHA512 ee75ce4bd28ecb5ef660d1ed6f5522654eced6ded8745dc0c61df351f4ff0ff8980d1bd848b2649fcce4aa539a457e56e55b0a59cb49f44b0a29875d0ea28dce
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO zeromq/cppzmq
REF v4.2.2
SHA512 5f61ea4a16987c1363c3029cf46b3e83ddd86d65e8d639b0332d691f8fdb5cee121b5d72a9b8c89221daf52ea5892219e0bc4ea4e761bb1e7deb1659011dd3c9
HEAD_REF master
)
vcpkg_extract_source_archive(${ARCHIVE})
# cppzmq is a single header library, so we just need to copy that file in the include directory
file(INSTALL ${SOURCE_PATH}/zmq.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include)