vcpkg/ports/jack2/portfile.cmake

26 lines
673 B
CMake
Raw Normal View History

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO jackaudio/jack2
REF "v${VERSION}"
2023-10-03 07:07:16 +08:00
SHA512 d93cb2bcc57b72b6815eed143de1092d14fe22542ae9a1f8480d9ed5f44b59c50f81279d18bdd84ff6276ddd71ca1aa64a1e46d61199a5eda0d873a356194ab4
HEAD_REF master
2017-12-27 12:18:50 +01:00
)
# Install headers and a shim library with JackWeakAPI.c
file(COPY
"${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt"
"${CMAKE_CURRENT_LIST_DIR}/jack.def"
DESTINATION "${SOURCE_PATH}"
)
2017-12-27 12:18:50 +01:00
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
2017-12-27 12:18:50 +01:00
)
vcpkg_cmake_install()
vcpkg_fixup_pkgconfig()
2017-12-27 12:18:50 +01:00
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
2017-12-27 12:18:50 +01:00
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")