aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Christensen <philc@microsoft.com>2018-11-19 14:32:18 -0800
committerGitHub <noreply@github.com>2018-11-19 14:32:18 -0800
commit74484788c8707792a8e931bdd20b94e09ad75e8f (patch)
tree03ad111a75568bb25039007490bf6bcf2a76d7e9
parentf98d12cdbf3e052ae0d05f2d8b58e46aa6473f15 (diff)
parent8bf211d52f747041740d8621399499e3a549d1bb (diff)
downloadvcpkg-74484788c8707792a8e931bdd20b94e09ad75e8f.tar.gz
vcpkg-74484788c8707792a8e931bdd20b94e09ad75e8f.zip
Merge pull request #4766 from kypp/stlab
new port: stlab
-rw-r--r--ports/stlab/CONTROL5
-rw-r--r--ports/stlab/portfile.cmake24
2 files changed, 29 insertions, 0 deletions
diff --git a/ports/stlab/CONTROL b/ports/stlab/CONTROL
new file mode 100644
index 000000000..c1a752a5e
--- /dev/null
+++ b/ports/stlab/CONTROL
@@ -0,0 +1,5 @@
+Source: stlab
+Version: 1.3.3
+Description:
+ stlab is the ongoing work of what was Adobe’s Software Technology Lab.
+ The Concurrency library provides futures and channels, high level constructs for implementing algorithms that eases the use of multiple CPU cores while minimizing contention. This library solves several problems of the C++11 and C++17 TS futures. \ No newline at end of file
diff --git a/ports/stlab/portfile.cmake b/ports/stlab/portfile.cmake
new file mode 100644
index 000000000..a2bd71e56
--- /dev/null
+++ b/ports/stlab/portfile.cmake
@@ -0,0 +1,24 @@
+include(vcpkg_common_functions)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO stlab/libraries
+ REF v1.3.3
+ SHA512 2c0eec5638b40f8285cc3b0d756df619b53ba44421c47713aaf45196100765a31a6aea3c5bedba4fcc44494b74e3f0a919271601e717e7f274fe15beb93f8889
+ HEAD_REF master
+)
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}
+ OPTIONS
+ -DBUILD_TESTING=OFF
+)
+
+vcpkg_install_cmake()
+
+# cleanup
+file(RENAME ${CURRENT_PACKAGES_DIR}/share/cmake/stlab ${CURRENT_PACKAGES_DIR}/share/stlab)
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/share/cmake)
+
+# handle copyright
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/stlab RENAME copyright) \ No newline at end of file