aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/plf-list
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/plf-list')
-rw-r--r--vcpkg/ports/plf-list/portfile.cmake14
-rw-r--r--vcpkg/ports/plf-list/vcpkg.json7
2 files changed, 21 insertions, 0 deletions
diff --git a/vcpkg/ports/plf-list/portfile.cmake b/vcpkg/ports/plf-list/portfile.cmake
new file mode 100644
index 0000000..97fd062
--- /dev/null
+++ b/vcpkg/ports/plf-list/portfile.cmake
@@ -0,0 +1,14 @@
+# header-only library
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO mattreecebentley/plf_list
+ REF 42fcfca9890598d1c1fda45eb9dbe2b2b2d4dd2b
+ SHA512 879157aac16dc1b76db942a8ddf25dc33ede10e769496b7f300a070913c6c6946cb40853dd3071ecf3d9c870e1dee5d420d42fbb388e83361235659171f6bd44
+ HEAD_REF master
+)
+
+file(COPY ${SOURCE_PATH}/plf_list.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+
+# Handle copyright
+configure_file(${SOURCE_PATH}/LICENSE.md ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
diff --git a/vcpkg/ports/plf-list/vcpkg.json b/vcpkg/ports/plf-list/vcpkg.json
new file mode 100644
index 0000000..c1f91d6
--- /dev/null
+++ b/vcpkg/ports/plf-list/vcpkg.json
@@ -0,0 +1,7 @@
+{
+ "name": "plf-list",
+ "version-date": "2019-08-10",
+ "port-version": 2,
+ "description": "A drop-in replacement for std::list with 293% faster insertion, 57% faster erasure, 17% faster iteration and 77% faster sorting on average",
+ "homepage": "https://www.plflib.org/"
+}