vcpkg/ports/proxy/portfile.cmake
miyanyan e48d3f4d65
[proxy] update to 2.4.0 (#38660)
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [ ] The "supports" clause reflects platforms that may be fixed by this
new version.
- [ ] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [ ] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
2024-05-09 20:17:24 -07:00

20 lines
566 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO microsoft/proxy
REF ${VERSION}
SHA512 7d8a236618c6223e93b5f621bcfa0acd922d9b95378317ef68c1bde089455e135b987ed87100f81146c13179f5385d67eb03eee401ea7ee57c4aab61d9a42c0c
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)