vcpkg/ports/clap-cleveraudio/portfile.cmake
Jia Yue Hua 2b66c255a7
[clap-cleveraudio] update to 1.2.0 (#36601)
* [clap-cleveraudio] update to 1.2.0

* [clap-cleveraudio] update to 1.2.0
2024-02-06 12:35:18 -08:00

21 lines
594 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO free-audio/clap
REF "${VERSION}"
SHA512 9113673a911d023ea29d9cb246fbd7e82b4baccf4df5eb63ffe2605cc65543f82cb3a66982803e26f9ecfc8c159508470608b1d3b47009965094fbcdede49cf5
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(
CONFIG_PATH "lib/cmake/clap"
)
vcpkg_fixup_pkgconfig()
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")