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_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=https
://www.libimobiledevice.org
/downloads
16 PKG_HASH
:=c0ec9700172bf635ccb5bed98daae607d2925c2bc3597f25706ecd9dfbfd2d9e
18 PKG_MAINTAINER
:=Rosen Penev
<rosenp@gmail.com
>
19 PKG_LICENSE
:=GPL-2.0
-or-later
20 PKG_LICENSE_FILES
:=COPYING.GPLv2
21 PKG_CPE_ID
:=cpe
:/a
:libimobiledevice
:usbmuxd
26 include $(INCLUDE_DIR
)/package.mk
28 define Package
/usbmuxd
31 SUBMENU
:=libimobiledevice
32 TITLE
:=USB multiplexing daemon
33 URL
:=https
://www.libimobiledevice.org
/
34 DEPENDS
:=+librt
+libusb-1.0
+libusbmuxd
+libopenssl
+libimobiledevice
37 define Package
/usbmuxd
/description
38 This daemon is in charge of multiplexing connections over USB to an iPhone or
39 iPod touch. To users
, it means you can sync your music
, contacts
, photos
, etc.
40 over USB. To developers
, it means you can connect to any listening localhost
41 socket on the device. usbmuxd is not used for tethering data transfer
, which
42 uses a dedicated USB interface
as a virtual network device.
45 define Package
/usbmuxd
/conffiles
47 /etc
/lockdown
/SystemConfiguration.plist
50 CONFIGURE_ARGS
+= --with-systemd
52 define Package
/usbmuxd
/install
53 $(INSTALL_DIR
) $(1)/etc
/init.d
54 $(INSTALL_BIN
) .
/files
/usbmuxd.init
$(1)/etc
/init.d
/usbmuxd
55 $(INSTALL_DIR
) $(1)/usr
/sbin
56 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/usbmuxd
$(1)/usr
/sbin
/
59 $(eval
$(call BuildPackage
,usbmuxd
))