vcpkg/ports/aklomp-base64/portfile.cmake
Nikolay Shishov 5f555ff36e
[aklomp-base64] fix PACKAGE_NAME (#30693)
* [aklomp-base64] fix PACKAGE_NAME

* [aklomp-base64] vcpkg version fix

* Bump port-version.

---------

Co-authored-by: Nikolay Shishov <nikolay.shishov@admiralmarkets.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-04-10 17:54:35 -07:00

23 lines
644 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO aklomp/base64
REF e77bd70bdd860c52c561568cffb251d88bba064c
SHA512 bc0cf64f6a24226a64c51983e8b73b4d4e893b8242bc6ac39361d977996de453d9f95ed0ab68a7544f21b0be1d76ae53af96521207a651c95673b02954cc5bbe
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_cmake_config_fixup(
PACKAGE_NAME base64
CONFIG_PATH "lib/cmake/base64"
)
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)