2020-05-09 05:35:16 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO trailofbits/uthenticode
|
2024-04-02 05:08:56 +08:00
|
|
|
REF "v${VERSION}"
|
|
|
|
SHA512 447c1edd2fcd7ba6e960ef5caf32f2b0b9b8bd6b83e5ec02313ff6ae2063bc37a4c250cfdcd57d0717ba93f783c4c8390280edd54a2f63f53c4185faeab6610a
|
2020-05-09 05:35:16 +08:00
|
|
|
HEAD_REF master
|
2022-04-07 02:04:46 +08:00
|
|
|
PATCHES
|
|
|
|
openssl.patch
|
2020-05-09 05:35:16 +08:00
|
|
|
)
|
|
|
|
|
2021-10-27 14:40:12 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2020-05-09 05:35:16 +08:00
|
|
|
)
|
|
|
|
|
2021-10-27 14:40:12 +08:00
|
|
|
vcpkg_cmake_install()
|
2020-05-09 05:35:16 +08:00
|
|
|
|
2021-10-27 14:40:12 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/uthenticode)
|
2020-05-09 05:35:16 +08:00
|
|
|
|
2021-10-27 14:40:12 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
2020-05-09 05:35:16 +08:00
|
|
|
|
2021-10-27 14:40:12 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|