2020-09-01 02:58:24 +02:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO rioki/libxmlmm
|
|
|
|
REF r0.6
|
|
|
|
SHA512 4f619e730de2f88b891ef31dd7ced2e6be75fff7f3852ec178843bf8d099d2e1ea84e0fcde35ff7fefc201b026f63e4b5d55f88e48334c49a0333be0327894df
|
|
|
|
HEAD_REF master
|
|
|
|
)
|
2022-04-19 23:31:08 +02:00
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
2020-09-01 02:58:24 +02:00
|
|
|
|
2022-04-19 23:31:08 +02:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2024-10-26 11:15:57 +02:00
|
|
|
OPTIONS
|
|
|
|
-DVERSION=${VERSION}
|
2020-09-01 02:58:24 +02:00
|
|
|
)
|
2022-04-19 23:31:08 +02:00
|
|
|
vcpkg_cmake_install()
|
2020-09-01 02:58:24 +02:00
|
|
|
vcpkg_copy_pdbs()
|
2024-10-26 11:15:57 +02:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2020-09-01 02:58:24 +02:00
|
|
|
|
2022-07-06 23:30:42 +02:00
|
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/unofficial-libxmlmm-config.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/unofficial-libxmlmm")
|
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME unofficial-libxmlmm)
|
|
|
|
|
2020-09-01 02:58:24 +02:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2022-04-19 23:31:08 +02:00
|
|
|
|
2022-07-06 23:30:42 +02:00
|
|
|
file(READ "${SOURCE_PATH}/README.md" readme)
|
|
|
|
string(REGEX REPLACE "^.*## Copying\n" "" copyright "${readme}")
|
|
|
|
file(WRITE "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" "${copyright}")
|