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
11 PKG_SOURCE_DATE
:=2019-12-16
12 PKG_SOURCE_VERSION
:=ec5ff91cfabd30637f8af8f5c79baf4d7818ce57
16 PKG_SOURCE_URL
=https
://github.com
/libimobiledevice
/usbmuxd
17 PKG_MIRROR_HASH
:=1d0f2fa3842fbcbebe4b7d323829703e29a3c1a078c62b4a783e4c99a8a2f576
19 PKG_MAINTAINER
:=Rosen Penev
<rosenp@gmail.com
>
20 PKG_LICENSE
:=GPL-2.0
-or-later
21 PKG_LICENSE_FILES
:=COPYING.GPLv2
22 PKG_CPE_ID
:=cpe
:/a
:libimobiledevice
:usbmuxd
28 include $(INCLUDE_DIR
)/package.mk
30 define Package
/usbmuxd
33 SUBMENU
:=libimobiledevice
34 TITLE
:=USB multiplexing daemon
35 URL
:=https
://www.libimobiledevice.org
/
36 DEPENDS
:=+librt
+libusb-1.0
+libusbmuxd
+libopenssl
+libimobiledevice
39 define Package
/usbmuxd
/description
40 This daemon is in charge of multiplexing connections over USB to an iPhone or
41 iPod touch. To users
, it means you can sync your music
, contacts
, photos
, etc.
42 over USB. To developers
, it means you can connect to any listening localhost
43 socket on the device. usbmuxd is not used for tethering data transfer
, which
44 uses a dedicated USB interface
as a virtual network device.
47 define Package
/usbmuxd
/conffiles
49 /etc
/lockdown
/SystemConfiguration.plist
52 CONFIGURE_ARGS
+= --without-systemd
54 define Package
/usbmuxd
/install
55 $(INSTALL_DIR
) $(1)/etc
/init.d
56 $(INSTALL_BIN
) .
/files
/usbmuxd.init
$(1)/etc
/init.d
/usbmuxd
57 $(INSTALL_DIR
) $(1)/usr
/sbin
58 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/usbmuxd
$(1)/usr
/sbin
/
61 $(eval
$(call BuildPackage
,usbmuxd
))