aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/poolparty
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/poolparty')
-rw-r--r--vcpkg/ports/poolparty/portfile.cmake13
-rw-r--r--vcpkg/ports/poolparty/vcpkg.json13
2 files changed, 26 insertions, 0 deletions
diff --git a/vcpkg/ports/poolparty/portfile.cmake b/vcpkg/ports/poolparty/portfile.cmake
new file mode 100644
index 0000000..04fb31a
--- /dev/null
+++ b/vcpkg/ports/poolparty/portfile.cmake
@@ -0,0 +1,13 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO Curve/poolparty
+ REF "v${VERSION}"
+ SHA512 ae542b2be6134cf58926e4ede8840bff560c427d45c07fadb7dc465112712df80a89569f5ebd4d57c6045cdd74380a65ed296f32c8904531327207aa7281c1b6
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(SOURCE_PATH ${SOURCE_PATH})
+vcpkg_cmake_install()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/poolparty/vcpkg.json b/vcpkg/ports/poolparty/vcpkg.json
new file mode 100644
index 0000000..0adceaa
--- /dev/null
+++ b/vcpkg/ports/poolparty/vcpkg.json
@@ -0,0 +1,13 @@
+{
+ "name": "poolparty",
+ "version": "3.0.1",
+ "description": "A C++20 thread-pool library",
+ "homepage": "https://github.com/Curve/poolparty",
+ "license": "MIT",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ }
+ ]
+}