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/bzip3/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/bzip3/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/bzip3/portfile.cmake | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/vcpkg/ports/bzip3/portfile.cmake b/vcpkg/ports/bzip3/portfile.cmake new file mode 100644 index 0000000..023bde9 --- /dev/null +++ b/vcpkg/ports/bzip3/portfile.cmake @@ -0,0 +1,30 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO iczelia/bzip3 + REF ${VERSION} + SHA512 4864db82af7bfb4b9753a4dfc6b966fb707607b5e5693134b6771a4c745a2cbe5767928c54f36ba89181d59dc2882d5630379c60655e23d0e7b2a0997d655aef + HEAD_REF master + PATCHES + disable-man.patch +) + +vcpkg_check_features(OUT_FEATURE_OPTIONS options + FEATURES + tools BZIP3_BUILD_APPS +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + ${options} +) + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/bzip3) +vcpkg_fixup_pkgconfig() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") +file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") |