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