You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.3 KiB

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=idevicerestore
  7. PKG_SOURCE_DATE:=2019-12-13
  8. PKG_SOURCE_VERSION:=a2a6ad16d2c3157153aae7e0835e478237b01507
  9. PKG_RELEASE:=1
  10. PKG_SOURCE_PROTO:=git
  11. PKG_SOURCE_URL=https://github.com/libimobiledevice/idevicerestore
  12. PKG_MIRROR_HASH:=522bd35a0a4e8cc64ef9b29716e88efd84829e81c9c00ce9170fef285ac4b137
  13. PKG_MAINTAINER:=Rosen Penev <rosenp@gmail.com>
  14. PKG_LICENSE:=GPL-2.0-or-later
  15. PKG_LICENSE_FILES:=COPYING
  16. PKG_FIXUP:=autoreconf
  17. PKG_INSTALL:=1
  18. PKG_BUILD_PARALLEL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/idevicerestore
  21. SECTION:=utils
  22. CATEGORY:=Utilities
  23. SUBMENU:=libimobiledevice
  24. TITLE:=Restore/upgrade firmware of iOS devices
  25. URL:=https://github.com/libimobiledevice/idevicerestore
  26. DEPENDS:=+libirecovery +libzip +libcurl +usbmuxd
  27. endef
  28. define Package/idevicerestore/description
  29. The idevicerestore tool allows to restore firmware files to iOS devices.
  30. It is a full reimplementation of all granular steps which are performed
  31. during restore of a firmware to a device.
  32. endef
  33. define Package/idevicerestore/install
  34. $(INSTALL_DIR) $(1)/usr/bin
  35. $(CP) $(PKG_INSTALL_DIR)/usr/bin/idevicerestore $(1)/usr/bin/
  36. endef
  37. $(eval $(call BuildPackage,idevicerestore))