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
14 PKG_MAINTAINER
:=Lukasz Baj
<l.baj@radytek.com
>
15 PKG_LICENSE
:=LGPL-2.1
+
16 PKG_LICENSE_FILES
:=COPYING.LGPLv2.1
19 PKG_SOURCE_URL
:=https
://github.com
/libimobiledevice
/libusbmuxd.git
20 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
21 PKG_SOURCE_VERSION
:=4397b3376dc4e4cb1c991d0aed61ce6482614196
22 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
)-$(PKG_SOURCE_VERSION
).
tar.gz
23 PKG_MIRROR_HASH
:=e145b567cdefb1d2536f3eec863769c77474ce9a5d9c4c81ab0a75dc6fe3056a
28 include $(INCLUDE_DIR
)/package.mk
30 define Package
/libusbmuxd
/Default
31 TITLE
:=USB multiplexing daemon
32 URL
:=http
://www.libimobiledevice.org
/
35 define Package
/libusbmuxd
/Default
/description
36 This daemon is in charge of multiplexing connections over USB to an iPhone or
37 iPod touch. To users
, it means you can sync your music
, contacts
, photos
, etc.
38 over USB. To developers
, it means you can connect to any listening localhost
39 socket on the device. usbmuxd is not used for tethering data transfer
, which
40 uses a dedicated USB interface
as a virtual network device.
43 define Package
/libusbmuxd
44 $(call Package
/libusbmuxd
/Default
)
48 DEPENDS
:=+libplist
+libpthread
+libxml2
+zlib
51 define Package
/libusbmuxd
/description
52 $(call Package
/libusbmuxd
/Default
/description
)
53 This package contains the libusbmuxd shared library.
56 define Package
/libusbmuxd-utils
57 $(call Package
/libusbmuxd
/Default
)
64 define Package
/libusbmuxd-utils
/description
65 $(call Package
/libusbmuxd
/Default
/description
)
66 This package contains the libusbmuxd utilities.
69 TARGET_CFLAGS
+= $(FPIC
)
71 define Build
/InstallDev
72 $(INSTALL_DIR
) $(1)/usr
/include
73 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/*.h
$(1)/usr
/include/
74 $(INSTALL_DIR
) $(1)/usr
/lib
75 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libusbmuxd.so
* $(1)/usr
/lib
/
76 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
77 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/libusbmuxd.
pc $(1)/usr
/lib
/pkgconfig
/
80 define Package
/libusbmuxd
/install
81 $(INSTALL_DIR
) $(1)/usr
/lib
82 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libusbmuxd.so.
* $(1)/usr
/lib
/
85 define Package
/libusbmuxd-utils
/install
86 $(INSTALL_DIR
) $(1)/usr
/bin
87 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/iproxy
$(1)/usr
/bin
/
90 $(eval
$(call BuildPackage
,libusbmuxd
))
91 $(eval
$(call BuildPackage
,libusbmuxd-utils
))