aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/tsl-hat-trie
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/tsl-hat-trie')
-rw-r--r--vcpkg/ports/tsl-hat-trie/portfile.cmake13
-rw-r--r--vcpkg/ports/tsl-hat-trie/vcpkg.json7
2 files changed, 20 insertions, 0 deletions
diff --git a/vcpkg/ports/tsl-hat-trie/portfile.cmake b/vcpkg/ports/tsl-hat-trie/portfile.cmake
new file mode 100644
index 0000000..d5ac0c3
--- /dev/null
+++ b/vcpkg/ports/tsl-hat-trie/portfile.cmake
@@ -0,0 +1,13 @@
+set(VCPKG_BUILD_TYPE release) # Header-only library
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO Tessil/hat-trie
+ REF "v${VERSION}"
+ SHA512 0775b95d10535e1596f6dc79feadecdd98d63e99d4ca492bc64fa8c5bcfe6bdb864b52ee55cba26cdad00e64c2ee857f70663d3e4ed03c33af8055fc17e8c38e
+ HEAD_REF master
+)
+
+file(COPY "${SOURCE_PATH}/include/tsl" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/tsl-hat-trie/vcpkg.json b/vcpkg/ports/tsl-hat-trie/vcpkg.json
new file mode 100644
index 0000000..2a9a73a
--- /dev/null
+++ b/vcpkg/ports/tsl-hat-trie/vcpkg.json
@@ -0,0 +1,7 @@
+{
+ "name": "tsl-hat-trie",
+ "version": "0.7.1",
+ "description": "C++ implementation of a fast and memory efficient HAT-trie",
+ "homepage": "https://github.com/Tessil/hat-trie",
+ "license": "MIT"
+}