From 32ee2c76b0a498178996b0af942aec14c0e50b7d Mon Sep 17 00:00:00 2001 From: Sean Farrell Date: Thu, 12 May 2022 01:45:39 +0200 Subject: [PATCH] [c9y] Adds new port (#24643) * Adds c9y 0.3.0 * Adds versions for c9y 0.3.0. * Implements review suggestions. * Bump versions. --- ports/c9y/portfile.cmake | 16 ++++++++++++++++ ports/c9y/vcpkg.json | 13 +++++++++++++ versions/baseline.json | 4 ++++ versions/c-/c9y.json | 9 +++++++++ 4 files changed, 42 insertions(+) create mode 100644 ports/c9y/portfile.cmake create mode 100644 ports/c9y/vcpkg.json create mode 100644 versions/c-/c9y.json diff --git a/ports/c9y/portfile.cmake b/ports/c9y/portfile.cmake new file mode 100644 index 0000000000..42f281d8c7 --- /dev/null +++ b/ports/c9y/portfile.cmake @@ -0,0 +1,16 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO rioki/c9y + REF v0.3.0 + SHA512 9d105f5d8f93856d6104663704944e0456c779c9ae6469d4ad9a40f6e451065376a44e4efb61c2e0b5e79cb2f3ae78de72209b6668d56d7df7992275f2168336 + ) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") + +file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/ports/c9y/vcpkg.json b/ports/c9y/vcpkg.json new file mode 100644 index 0000000000..ebeff76100 --- /dev/null +++ b/ports/c9y/vcpkg.json @@ -0,0 +1,13 @@ +{ + "name": "c9y", + "version-semver": "0.3.0", + "description": "Concurency", + "homepage": "https://github.com/rioki/c9y", + "license": "MIT", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index f461dce88a..1fe1fb5953 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1216,6 +1216,10 @@ "baseline": "0.0.1", "port-version": 0 }, + "c9y": { + "baseline": "0.3.0", + "port-version": 0 + }, "caf": { "baseline": "0.18.6", "port-version": 1 diff --git a/versions/c-/c9y.json b/versions/c-/c9y.json new file mode 100644 index 0000000000..62647f3068 --- /dev/null +++ b/versions/c-/c9y.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "5964f7fa10d83aa2d1a01ec7c64bd9b64f25f6a6", + "version-semver": "0.3.0", + "port-version": 0 + } + ] +}