aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/idevicerestore/portfile.cmake
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/idevicerestore/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/idevicerestore/portfile.cmake')
-rw-r--r--vcpkg/ports/idevicerestore/portfile.cmake22
1 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/idevicerestore/portfile.cmake b/vcpkg/ports/idevicerestore/portfile.cmake
new file mode 100644
index 0000000..de3dfd2
--- /dev/null
+++ b/vcpkg/ports/idevicerestore/portfile.cmake
@@ -0,0 +1,22 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO libimobiledevice/idevicerestore
+ REF 609f7f058487596597e8e742088119fdd46729df # commits on 2023-05-23
+ SHA512 9427c438d1967f1717424dd1d1b789d3d139b3fcacee15911e531d6377039927c147150dafacd251b92d57134e72c49de6e1a053fcd63f14c780e60dc5b13fc5
+ HEAD_REF master
+)
+
+file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+vcpkg_copy_tools(TOOL_NAMES idevicerestore AUTO_CLEAN)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
+
+set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)