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.

49 lines
1.4 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:=2020-02-17
  8. PKG_SOURCE_VERSION:=513950377df9cb93747ac69dae4ab55dded3ac5c
  9. PKG_RELEASE:=1
  10. PKG_SOURCE_PROTO:=git
  11. PKG_SOURCE_URL=https://github.com/libimobiledevice/idevicerestore
  12. PKG_MIRROR_HASH:=3b2c25cb47d79c02b225b83d8732ea1ab5b20f0e15f7d716cb4a26e99be4f53e
  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. TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lpthread)
  34. define Package/idevicerestore/install
  35. $(INSTALL_DIR) $(1)/usr/bin
  36. $(CP) $(PKG_INSTALL_DIR)/usr/bin/idevicerestore $(1)/usr/bin/
  37. endef
  38. $(eval $(call BuildPackage,idevicerestore))