2020-10-15 05:21:15 +08:00
|
|
|
vcpkg_from_gitlab(
|
|
|
|
GITLAB_URL https://gitlab.com
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO lv2/sratom
|
2024-03-30 08:21:41 +08:00
|
|
|
REF "v${VERSION}"
|
|
|
|
SHA512 938326f598ccf0010bfd7517c4a98f3729f9db1d771c990fcc6b8e008b44970c34b65aa6d491b99250067428501218b11f185a7282484a7b62217b7f2961c40d
|
2020-10-15 05:21:15 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
|
|
|
|
2023-03-02 02:39:29 +08:00
|
|
|
vcpkg_cmake_configure(
|
2020-10-15 05:21:15 +08:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS_DEBUG -DDISABLE_INSTALL_HEADERS=1
|
|
|
|
)
|
|
|
|
|
2023-03-02 02:39:29 +08:00
|
|
|
vcpkg_cmake_install()
|
2020-10-15 05:21:15 +08:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
2023-03-02 02:39:29 +08:00
|
|
|
vcpkg_cmake_config_fixup()
|
2020-10-15 05:21:15 +08:00
|
|
|
file(
|
|
|
|
INSTALL "${SOURCE_PATH}/COPYING"
|
|
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
|
|
|
|
RENAME copyright
|
|
|
|
)
|