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
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=https
://www.libimobiledevice.org
/downloads
16 PKG_HASH
:=53f2640c6365cd9f302a6248f531822dc94a6cced3f17128d4479a77bd75b0f6
18 PKG_MAINTAINER
:=Rosen Penev
<rosenp@gmail.com
>
19 PKG_LICENSE
:=LGPL-2.1
-or-later
20 PKG_LICENSE_FILES
:=COPYING.LESSER
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/libimobiledevice
/Default
28 TITLE
:=A library that talks to Apple devices.
29 URL
:=https
://www.libimobiledevice.org
/
30 SUBMENU
:=libimobiledevice
33 define Package
/libimobiledevice
/Default
/description
34 libimobiledevice is a software library that talks the protocols to support
35 iPhone®
, iPod Touch®
, iPad® and Apple TV® devices.
38 define Package
/libimobiledevice
39 $(call Package
/libimobiledevice
/Default
)
42 DEPENDS
:=+libplist
+libusbmuxd
+libopenssl
43 LICENSE
:=LGPL-2.1
-or-later
44 LICENSE_FILES
:=COPYING.LESSER
47 define Package
/libimobiledevice
/description
48 $(call Package
/libimobiledevice
/Default
/description
)
51 define Package
/libimobiledevice-utils
52 $(call Package
/libimobiledevice
/Default
)
55 DEPENDS
:=+libimobiledevice
56 LICENSE
:=GPL-2.0
-or-later
60 define Package
/libimobiledevice-utils
/description
61 $(call Package
/libimobiledevice
/Default
/description
)
62 This package contains the libimobiledevice utilities.
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-1.0.so
* $(1)/usr
/lib
/
74 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
75 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/libimobiledevice-1.0.
pc $(1)/usr
/lib
/pkgconfig
/
78 define Package
/libimobiledevice
/install
79 $(INSTALL_DIR
) $(1)/usr
/lib
80 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libimobiledevice-1.0.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
))