diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/cadons-ctus | |
Diffstat (limited to 'vcpkg/ports/cadons-ctus')
| -rw-r--r-- | vcpkg/ports/cadons-ctus/portfile.cmake | 22 | ||||
| -rw-r--r-- | vcpkg/ports/cadons-ctus/vcpkg.json | 24 |
2 files changed, 46 insertions, 0 deletions
diff --git a/vcpkg/ports/cadons-ctus/portfile.cmake b/vcpkg/ports/cadons-ctus/portfile.cmake new file mode 100644 index 0000000..40a3631 --- /dev/null +++ b/vcpkg/ports/cadons-ctus/portfile.cmake @@ -0,0 +1,22 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO Cadons/ctus + REF ${VERSION} + SHA512 79ad70b945d0cb9ac64838dd4e76fa2ed18aa58e63d6b2ecfa20d313f6cfe4b50e42294ebef71e25b7d87d24b5b511decdc4f695987500f8726906925dcc4a97 + HEAD_REF main +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DBUILD_TESTING=OFF +) + +vcpkg_cmake_install() +vcpkg_copy_pdbs() + +vcpkg_cmake_config_fixup(PACKAGE_NAME ctus CONFIG_PATH lib/cmake/ctus) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/vcpkg/ports/cadons-ctus/vcpkg.json b/vcpkg/ports/cadons-ctus/vcpkg.json new file mode 100644 index 0000000..98b39a1 --- /dev/null +++ b/vcpkg/ports/cadons-ctus/vcpkg.json @@ -0,0 +1,24 @@ +{ + "name": "cadons-ctus", + "version": "1.0.0", + "description": "Library implementing the tus protocol for resumable uploads", + "homepage": "https://github.com/Cadons/ctus", + "license": "MIT", + "dependencies": [ + "boost-lexical-cast", + "boost-uuid", + "curl", + "fmt", + "glog", + "libzippp", + "nlohmann-json", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |