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/zug | |
Diffstat (limited to 'vcpkg/ports/zug')
| -rw-r--r-- | vcpkg/ports/zug/portfile.cmake | 27 | ||||
| -rw-r--r-- | vcpkg/ports/zug/vcpkg.json | 21 |
2 files changed, 48 insertions, 0 deletions
diff --git a/vcpkg/ports/zug/portfile.cmake b/vcpkg/ports/zug/portfile.cmake new file mode 100644 index 0000000..1794ea2 --- /dev/null +++ b/vcpkg/ports/zug/portfile.cmake @@ -0,0 +1,27 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO arximboldi/zug + REF 7c22cc138e2a9a61620986d1a7e1e9730123f22b + SHA512 ecf88ca56ae70ca87391ed34d6d6561e7da9810bba71e6abce2cd150b07cbb7180a7b90db96d0dc5f761fdeb43d75f5f0b47cbf45d78694c3177155d2005fe89 + HEAD_REF master +) + +vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS + FEATURES + docs zug_BUILD_DOCS +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -Dzug_BUILD_EXAMPLES=OFF + -Dzug_BUILD_TESTS=OFF + ${FEATURE_OPTIONS} +) + + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Zug) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib") +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/vcpkg/ports/zug/vcpkg.json b/vcpkg/ports/zug/vcpkg.json new file mode 100644 index 0000000..95de76d --- /dev/null +++ b/vcpkg/ports/zug/vcpkg.json @@ -0,0 +1,21 @@ +{ + "name": "zug", + "version-date": "2024-04-26", + "description": "Transducers for C++", + "homepage": "https://sinusoid.es/zug/", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ], + "features": { + "docs": { + "description": "Build documentation" + } + } +} |