diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-02-08 15:12:28 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-08 15:12:28 -0800 |
| commit | 7ddae17e2f520e83d25f78c078bf8b8a58fff447 (patch) | |
| tree | 87e2fc5c57a685367ec051b1efbdeb5d3ab43f4d /ports/cppzmq | |
| parent | 5e588ddb5be9e6e27cebcc3be2e1a27f3ca83a50 (diff) | |
| parent | a9f7fc6e90feaad50c1221ef9bd56e2620302215 (diff) | |
| download | vcpkg-7ddae17e2f520e83d25f78c078bf8b8a58fff447.tar.gz vcpkg-7ddae17e2f520e83d25f78c078bf8b8a58fff447.zip | |
Merge branch 'master' into master
Diffstat (limited to 'ports/cppzmq')
| -rw-r--r-- | ports/cppzmq/CONTROL | 4 | ||||
| -rw-r--r-- | ports/cppzmq/portfile.cmake | 16 |
2 files changed, 20 insertions, 0 deletions
diff --git a/ports/cppzmq/CONTROL b/ports/cppzmq/CONTROL new file mode 100644 index 000000000..a7625e25d --- /dev/null +++ b/ports/cppzmq/CONTROL @@ -0,0 +1,4 @@ +Source: cppzmq +Version: 0.0.0-1 +Build-Depends: zeromq +Description: lightweight messaging kernel, C++ bindings diff --git a/ports/cppzmq/portfile.cmake b/ports/cppzmq/portfile.cmake new file mode 100644 index 000000000..c2e03c81d --- /dev/null +++ b/ports/cppzmq/portfile.cmake @@ -0,0 +1,16 @@ +#header-only library +include(vcpkg_common_functions) +set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/cppzmq-7faa9b061843fcbceb7ed94984ee8f20284ee759) +vcpkg_download_distfile(ARCHIVE + URLS "https://github.com/zeromq/cppzmq/archive/7faa9b061843fcbceb7ed94984ee8f20284ee759.zip" + FILENAME "cppzmq-7faa.zip" + SHA512 10ba10f0e9a2387dc75fec01c2629b969f23d6152596a475474b701a4efccc4007c8eae5ec2a89f7f26e7d117f36016aaead16bf3325a8780bfd6419d84ac54e +) +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) + +# Handle copyright +file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/cppzmq) +file(RENAME ${CURRENT_PACKAGES_DIR}/share/cppzmq/LICENSE ${CURRENT_PACKAGES_DIR}/share/cppzmq/copyright) |
