2018-08-08 19:15:13 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO libimobiledevice-win32/libimobiledevice
|
2023-01-24 08:12:31 +08:00
|
|
|
REF 0d4a7e905baeadafa098e629a5241fac6fbf7d24 # v1.3.17
|
2021-09-24 08:04:17 +08:00
|
|
|
SHA512 db6369b2fa8e7b659948602ac8c4cd568bf37c0f73e58150f61f1af7000de95aa1a6a9ae546d6a37de4cb08a8059127fe5ed067351c4092c01a45350586f755a
|
2018-08-29 05:05:16 +08:00
|
|
|
HEAD_REF msvc-master
|
2018-08-08 19:15:13 +08:00
|
|
|
)
|
|
|
|
|
2021-09-24 08:04:17 +08:00
|
|
|
configure_file("${CURRENT_PORT_DIR}/CMakeLists.txt" "${SOURCE_PATH}/CMakeLists.txt" COPYONLY)
|
2019-11-01 12:35:56 +08:00
|
|
|
|
2021-09-24 08:04:17 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2018-08-08 19:15:13 +08:00
|
|
|
)
|
2019-11-01 12:35:56 +08:00
|
|
|
|
2021-09-24 08:04:17 +08:00
|
|
|
vcpkg_cmake_install()
|
2019-11-01 12:35:56 +08:00
|
|
|
vcpkg_copy_pdbs()
|
2020-10-20 10:23:57 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2019-11-01 12:35:56 +08:00
|
|
|
|
2021-09-24 08:04:17 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2019-11-01 12:35:56 +08:00
|
|
|
|
|
|
|
# Handle copyright
|
2021-09-24 08:04:17 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
2023-01-24 08:12:31 +08:00
|
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|