aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/threadpool
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/threadpool
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/threadpool')
-rw-r--r--vcpkg/ports/threadpool/portfile.cmake14
-rw-r--r--vcpkg/ports/threadpool/vcpkg.json10
2 files changed, 24 insertions, 0 deletions
diff --git a/vcpkg/ports/threadpool/portfile.cmake b/vcpkg/ports/threadpool/portfile.cmake
new file mode 100644
index 0000000..05d47be
--- /dev/null
+++ b/vcpkg/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)
diff --git a/vcpkg/ports/threadpool/vcpkg.json b/vcpkg/ports/threadpool/vcpkg.json
new file mode 100644
index 0000000..2b87fa0
--- /dev/null
+++ b/vcpkg/ports/threadpool/vcpkg.json
@@ -0,0 +1,10 @@
+{
+ "name": "threadpool",
+ "version": "0.2.5",
+ "port-version": 4,
+ "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.",
+ "homepage": "https://threadpool.sourceforge.net/",
+ "dependencies": [
+ "boost-thread"
+ ]
+}