2 # Copyright (C) 2012-2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=libimobiledevice
11 PKG_SOURCE_DATE
:=2020-02-19
12 PKG_SOURCE_VERSION
:=3d8d13f0a70cefc1b12571b7f6aa2d1d4c58cffb
16 PKG_SOURCE_URL
:=https
://github.com
/libimobiledevice
/libimobiledevice
17 PKG_MIRROR_HASH
:=4239f90c68ecd250a900b5256eafc364c658dcb8cc7767c58bd59b6d6b249d4e
19 PKG_MAINTAINER
:=Rosen Penev
<rosenp@gmail.com
>
20 PKG_LICENSE
:=LGPL-2.1
-or-later
21 PKG_LICENSE_FILES
:=COPYING.LESSER
27 include $(INCLUDE_DIR
)/package.mk
29 define Package
/libimobiledevice
/Default
30 TITLE
:=A library that talks to Apple devices.
31 URL
:=https
://www.libimobiledevice.org
/
32 SUBMENU
:=libimobiledevice
35 define Package
/libimobiledevice
/Default
/description
36 libimobiledevice is a software library that talks the protocols to support
37 iPhone®
, iPod Touch®
, iPad® and Apple TV® devices.
40 define Package
/libimobiledevice
41 $(call Package
/libimobiledevice
/Default
)
44 DEPENDS
:=+libplist
+libusbmuxd
+libopenssl
45 LICENSE
:=LGPL-2.1
-or-later
46 LICENSE_FILES
:=COPYING.LESSER
49 define Package
/libimobiledevice
/description
50 $(call Package
/libimobiledevice
/Default
/description
)
53 define Package
/libimobiledevice-utils
54 $(call Package
/libimobiledevice
/Default
)
57 DEPENDS
:=+libimobiledevice
58 LICENSE
:=GPL-2.0
-or-later
62 define Package
/libimobiledevice-utils
/description
63 $(call Package
/libimobiledevice
/Default
/description
)
64 This package contains the libimobiledevice utilities.
67 CONFIGURE_ARGS
+= --without-cython
69 define Build
/InstallDev
70 $(INSTALL_DIR
) $(1)/usr
/include
71 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/libimobiledevice
$(1)/usr
/include/
72 $(INSTALL_DIR
) $(1)/usr
/lib
73 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libimobiledevice.
{a
,la
,so
*} $(1)/usr
/lib
/
74 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
75 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/libimobiledevice-
*.
pc $(1)/usr
/lib
/pkgconfig
/
78 define Package
/libimobiledevice
/install
79 $(INSTALL_DIR
) $(1)/usr
/lib
80 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libimobiledevice.so.
* $(1)/usr
/lib
/
83 define Package
/libimobiledevice-utils
/install
84 $(INSTALL_DIR
) $(1)/usr
/bin
85 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/idevice
* $(1)/usr
/bin
/
88 $(eval
$(call BuildPackage
,libimobiledevice
))
89 $(eval
$(call BuildPackage
,libimobiledevice-utils
))