aboutsummaryrefslogtreecommitdiff
path: root/ports/robin-map
diff options
context:
space:
mode:
Diffstat (limited to 'ports/robin-map')
-rw-r--r--ports/robin-map/CONTROL3
-rw-r--r--ports/robin-map/portfile.cmake17
2 files changed, 20 insertions, 0 deletions
diff --git a/ports/robin-map/CONTROL b/ports/robin-map/CONTROL
new file mode 100644
index 000000000..f24dc8337
--- /dev/null
+++ b/ports/robin-map/CONTROL
@@ -0,0 +1,3 @@
+Source: robin-map
+Version: 0.2.0
+Description: A C++ implementation of a fast hash map and hash set using robin hood hashing
diff --git a/ports/robin-map/portfile.cmake b/ports/robin-map/portfile.cmake
new file mode 100644
index 000000000..6436f6194
--- /dev/null
+++ b/ports/robin-map/portfile.cmake
@@ -0,0 +1,17 @@
+include(vcpkg_common_functions)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO Tessil/robin-map
+ REF v0.2.0
+ SHA512 6d16c612a0d646fd08857f2f6ee2909fb607ff05fa9c7733a2b618d662f63bba2f99677b75a09870a1582b7b37f255c4ff1f9171c897c3cfa73dd8879de1ec18
+ HEAD_REF master
+)
+
+file(COPY ${SOURCE_PATH}/tsl DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+
+file(INSTALL
+ ${SOURCE_PATH}/LICENSE
+ DESTINATION ${CURRENT_PACKAGES_DIR}/share/robin-map
+ RENAME copyright
+)