diff options
| author | Jesse Schalken <me@jesseschalken.com> | 2020-07-09 08:26:47 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-08 15:26:47 -0700 |
| commit | 6d4606fb795667ef58da5367dee867d6a350fff5 (patch) | |
| tree | 5e60c497549193d2b87d315ae57c9daf02179156 | |
| parent | 4e17c76d9fa4e73b4881d7aed529328e87b02565 (diff) | |
| download | vcpkg-6d4606fb795667ef58da5367dee867d6a350fff5.tar.gz vcpkg-6d4606fb795667ef58da5367dee867d6a350fff5.zip | |
[threadpool] Add new port (#11650)
* [threadpool] Add new port
* Use ${PORT} instead of hardcoded "theadpool"
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* Update ports/threadpool/portfile.cmake
* [threadpool] Use vcpkg_from_sourceforge
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
| -rw-r--r-- | ports/threadpool/CONTROL | 6 | ||||
| -rw-r--r-- | ports/threadpool/portfile.cmake | 14 |
2 files changed, 20 insertions, 0 deletions
diff --git a/ports/threadpool/CONTROL b/ports/threadpool/CONTROL new file mode 100644 index 000000000..df98da83a --- /dev/null +++ b/ports/threadpool/CONTROL @@ -0,0 +1,6 @@ +Source: threadpool +Version: 0.2.5 +Port-Version: 1 +Homepage: http://threadpool.sourceforge.net/ +Description: threadpool is a cross-platform C++ thread pool library. It provides a convenient way for dispatching asynchronous tasks and can be easily customized. threadpool is based on the high-quality Boost source libraries. +Build-Depends: boost-thread diff --git a/ports/threadpool/portfile.cmake b/ports/threadpool/portfile.cmake new file mode 100644 index 000000000..05d47be52 --- /dev/null +++ b/ports/threadpool/portfile.cmake @@ -0,0 +1,14 @@ +vcpkg_from_sourceforge( + OUT_SOURCE_PATH SOURCE_PATH + REPO threadpool/threadpool + REF "0.2.5 (Stable)" + SHA512 961576b619e5227098fa37a3c8d903128b3c2a9cf1e55c057c6f9126062bcccfa6fe2510b4e8ee5d1a0e3d0425f0077c50eccad2120a423f69e2705460780e7c + FILENAME "threadpool-0_2_5-src.zip" +) + +file(INSTALL ${SOURCE_PATH}/threadpool/boost + DESTINATION ${CURRENT_PACKAGES_DIR}/include) + +file(INSTALL ${SOURCE_PATH}/threadpool/COPYING + DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} + RENAME copyright) |
