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/turbobase64/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/turbobase64/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/turbobase64/portfile.cmake | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/vcpkg/ports/turbobase64/portfile.cmake b/vcpkg/ports/turbobase64/portfile.cmake new file mode 100644 index 0000000..c58ded7 --- /dev/null +++ b/vcpkg/ports/turbobase64/portfile.cmake @@ -0,0 +1,26 @@ +string(REGEX REPLACE "^([0-9]+)[.]([0-9])$" "\\1.0\\2" TURBO_VERSION "${VERSION}") + +vcpkg_check_linkage(ONLY_STATIC_LIBRARY) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO powturbo/Turbo-Base64 + REF ${TURBO_VERSION} + SHA512 de8aaace0faf6552cf692f131a4d03882b88252732bb4160c48e5cc630a0c2f637fa27309e084d02305cdf7ef28020e6c9fbb82b50c1916e46aabc95baea75ad + HEAD_REF master + PATCHES + fix-library-conflict.diff + fix-apple-silicon-arm64-detection.diff # https://github.com/powturbo/Turbo-Base64/pull/29 +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() + +vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}") + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") |