[tsl-sparse-map] Add new port. (#5279)

This commit is contained in:
Thibaut 2019-02-01 20:08:28 +01:00 committed by Codiferous
parent 83a33201d1
commit 8282fe065c
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,3 @@
Source: tsl-sparse-map
Version: 0.6.0
Description: C++ implementation of a memory efficient hash map and hash set

View File

@ -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
)