aboutsummaryrefslogtreecommitdiff
path: root/ports/plf-list
diff options
context:
space:
mode:
authormyd7349 <myd7349@gmail.com>2019-08-14 01:50:49 +0800
committerVictor Romero <romerosanchezv@gmail.com>2019-08-13 10:50:49 -0700
commit886dad5911a54f70d9922c59453588637da0e0d6 (patch)
treef3a602a2579bb46455324b3ca061219eba12c9e2 /ports/plf-list
parentfc7b1ff7a7a9dc2edf432f28fdcbfdfef790c5fb (diff)
downloadvcpkg-886dad5911a54f70d9922c59453588637da0e0d6.tar.gz
vcpkg-886dad5911a54f70d9922c59453588637da0e0d6.zip
[plf-colony][plf-list][plf-nanotimer][plf-stack] Add new ports (#7627)
Diffstat (limited to 'ports/plf-list')
-rw-r--r--ports/plf-list/CONTROL4
-rw-r--r--ports/plf-list/portfile.cmake16
2 files changed, 20 insertions, 0 deletions
diff --git a/ports/plf-list/CONTROL b/ports/plf-list/CONTROL
new file mode 100644
index 000000000..338eec5ea
--- /dev/null
+++ b/ports/plf-list/CONTROL
@@ -0,0 +1,4 @@
+Source: plf-list
+Version: 2019-08-10
+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/
diff --git a/ports/plf-list/portfile.cmake b/ports/plf-list/portfile.cmake
new file mode 100644
index 000000000..f9efd1e61
--- /dev/null
+++ b/ports/plf-list/portfile.cmake
@@ -0,0 +1,16 @@
+# header-only library
+
+include(vcpkg_common_functions)
+
+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)