2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
8 PKG_NAME
:=idevicerestore
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
13 PKG_SOURCE_URL
:=https
://www.libimobiledevice.org
/downloads
14 PKG_HASH
:=32712e86315397fd2e8999e77a2d2f790c67f6b4aa50d4d1c64cb2c4609836f7
16 PKG_MAINTAINER
:=Rosen Penev
<rosenp@gmail.com
>
17 PKG_LICENSE
:=GPL-2.0
-or-later
18 PKG_LICENSE_FILES
:=COPYING
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/idevicerestore
28 SUBMENU
:=libimobiledevice
29 TITLE
:=Restore
/upgrade firmware of iOS devices
30 URL
:=https
://github.com
/libimobiledevice
/idevicerestore
31 DEPENDS
:=+libirecovery
+libzip
+libcurl
+usbmuxd
34 define Package
/idevicerestore
/description
35 The idevicerestore tool allows to restore firmware files to iOS devices.
36 It is a full reimplementation of
all granular steps which are performed
37 during restore of a firmware to a device.
40 TARGET_LDFLAGS
+= $(if
$(CONFIG_USE_GLIBC
),-lpthread
)
42 define Package
/idevicerestore
/install
43 $(INSTALL_DIR
) $(1)/usr
/bin
44 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/idevicerestore
$(1)/usr
/bin
/
47 $(eval
$(call BuildPackage
,idevicerestore
))