aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/c9y
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/c9y')
-rw-r--r--vcpkg/ports/c9y/portfile.cmake19
-rw-r--r--vcpkg/ports/c9y/vcpkg.json17
2 files changed, 36 insertions, 0 deletions
diff --git a/vcpkg/ports/c9y/portfile.cmake b/vcpkg/ports/c9y/portfile.cmake
new file mode 100644
index 0000000..8232832
--- /dev/null
+++ b/vcpkg/ports/c9y/portfile.cmake
@@ -0,0 +1,19 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO rioki/c9y
+ REF v0.8.0
+ SHA512 f3161bde45fd534029ef4609b1b49d4edbeb636c9305e01e7e9cfa6a62cde0978632d46597510bea0ff96cae09b819905c0d8c5d2fd85cf641d7b47ea2a732b1
+ )
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/c9y)
+vcpkg_fixup_pkgconfig()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
+
+file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/vcpkg/ports/c9y/vcpkg.json b/vcpkg/ports/c9y/vcpkg.json
new file mode 100644
index 0000000..0c72352
--- /dev/null
+++ b/vcpkg/ports/c9y/vcpkg.json
@@ -0,0 +1,17 @@
+{
+ "name": "c9y",
+ "version-semver": "0.8.0",
+ "description": "Concurency",
+ "homepage": "https://github.com/rioki/c9y",
+ "license": "MIT",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}