aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/plf-colony
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/plf-colony')
-rw-r--r--vcpkg/ports/plf-colony/portfile.cmake13
-rw-r--r--vcpkg/ports/plf-colony/vcpkg.json6
2 files changed, 19 insertions, 0 deletions
diff --git a/vcpkg/ports/plf-colony/portfile.cmake b/vcpkg/ports/plf-colony/portfile.cmake
new file mode 100644
index 0000000..982c966
--- /dev/null
+++ b/vcpkg/ports/plf-colony/portfile.cmake
@@ -0,0 +1,13 @@
+# header-only library
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO mattreecebentley/plf_colony
+ REF 7eceefdd9291103dcee2d6c5fae6b63da1855dc5
+ SHA512 3856608d7129c832739562d86711a25a7e180b603ed652b01925e07d94538ad6290c597274ee758b6c8ded65eae02fd7bac416811f21480549416646ffb27b63
+ HEAD_REF master
+)
+
+file(COPY "${SOURCE_PATH}/plf_colony.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
+
+file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/vcpkg/ports/plf-colony/vcpkg.json b/vcpkg/ports/plf-colony/vcpkg.json
new file mode 100644
index 0000000..896c7fe
--- /dev/null
+++ b/vcpkg/ports/plf-colony/vcpkg.json
@@ -0,0 +1,6 @@
+{
+ "name": "plf-colony",
+ "version": "7.5.25",
+ "description": "An unordered C++ data container providing fast iteration/insertion/erasure while maintaining pointer/iterator validity to non-erased elements regardless of insertions/erasures.",
+ "homepage": "https://plflib.org/colony.htm"
+}