aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/plf-queue
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/plf-queue')
-rw-r--r--vcpkg/ports/plf-queue/portfile.cmake13
-rw-r--r--vcpkg/ports/plf-queue/vcpkg.json6
2 files changed, 19 insertions, 0 deletions
diff --git a/vcpkg/ports/plf-queue/portfile.cmake b/vcpkg/ports/plf-queue/portfile.cmake
new file mode 100644
index 0000000..d4b4dd7
--- /dev/null
+++ b/vcpkg/ports/plf-queue/portfile.cmake
@@ -0,0 +1,13 @@
+# header-only library
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO mattreecebentley/plf_queue
+ REF 1fb9d87a210f7813450ee54a469f9f79ea4ec872
+ SHA512 bca6662f5b0c4dfad4b9c1192aced83cf379ed2f115b498ad98003b7201fa80cf00ee697c7c8f9a8f9fe7c979207a8e99dd58549e124ea041af25c9217d7ae6f
+ HEAD_REF main
+)
+
+file(COPY "${SOURCE_PATH}/plf_queue.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/plf-queue/vcpkg.json b/vcpkg/ports/plf-queue/vcpkg.json
new file mode 100644
index 0000000..1575d82
--- /dev/null
+++ b/vcpkg/ports/plf-queue/vcpkg.json
@@ -0,0 +1,6 @@
+{
+ "name": "plf-queue",
+ "version": "2.2",
+ "description": "A data container replicating std::queue functionality but with better performance than standard library containers in a queue context. C++98/03/11/14/etc-compatible.",
+ "homepage": "https://plflib.org/queue.htm"
+}