diff options
| author | Thibaut <tessil@gmx.com> | 2019-02-01 20:08:28 +0100 |
|---|---|---|
| committer | Codiferous <44823842+Codiferous@users.noreply.github.com> | 2019-02-01 11:08:28 -0800 |
| commit | 8282fe065c6a3f494b43b3860602a98696a87487 (patch) | |
| tree | c376788f549517900fca7a1be71a8b10294e60c7 | |
| parent | 83a33201d1edd6a06e8133b37f1d8a4b40ed591a (diff) | |
| download | vcpkg-8282fe065c6a3f494b43b3860602a98696a87487.tar.gz vcpkg-8282fe065c6a3f494b43b3860602a98696a87487.zip | |
[tsl-sparse-map] Add new port. (#5279)
| -rw-r--r-- | ports/tsl-sparse-map/CONTROL | 3 | ||||
| -rw-r--r-- | ports/tsl-sparse-map/portfile.cmake | 21 |
2 files changed, 24 insertions, 0 deletions
diff --git a/ports/tsl-sparse-map/CONTROL b/ports/tsl-sparse-map/CONTROL new file mode 100644 index 000000000..31e08231c --- /dev/null +++ b/ports/tsl-sparse-map/CONTROL @@ -0,0 +1,3 @@ +Source: tsl-sparse-map +Version: 0.6.0 +Description: C++ implementation of a memory efficient hash map and hash set diff --git a/ports/tsl-sparse-map/portfile.cmake b/ports/tsl-sparse-map/portfile.cmake new file mode 100644 index 000000000..6895d7c67 --- /dev/null +++ b/ports/tsl-sparse-map/portfile.cmake @@ -0,0 +1,21 @@ +include(vcpkg_common_functions) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO Tessil/sparse-map + REF v0.6.0 + SHA512 6a21ebbd3505a0b4bf199f24ae9262395392964457eb26edb39fd7aa82aec7fc74468f7615977c74a2f36332850a68e1d6a6e86d487c3dff7efa2b081fa2c8c5 +) + +vcpkg_configure_cmake( + SOURCE_PATH ${SOURCE_PATH} +) + +vcpkg_install_cmake() + +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug) + +file(INSTALL ${SOURCE_PATH}/LICENSE + DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} + RENAME copyright +) |
