usbmuxd: Update to 2020-01-20
[feed/packages.git] / utils / usbmuxd / Makefile
1 #
2 # Copyright (C) 2012-2014 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=usbmuxd
11 PKG_SOURCE_DATE:=2020-01-20
12 PKG_SOURCE_VERSION:=8a69f1a78a58476f77b66916091d2405d0cd815f
13 PKG_RELEASE:=1
14
15 PKG_SOURCE_PROTO:=git
16 PKG_SOURCE_URL=https://github.com/libimobiledevice/usbmuxd
17 PKG_MIRROR_HASH:=cf6046fccd1a03d7970618b7ad958ef1437f717cc81af706ddf62c09a1746743
18
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
23
24 PKG_FIXUP:=autoreconf
25 PKG_INSTALL:=1
26 PKG_BUILD_PARALLEL:=1
27
28 include $(INCLUDE_DIR)/package.mk
29
30 define Package/usbmuxd
31 SECTION:=utils
32 CATEGORY:=Utilities
33 SUBMENU:=libimobiledevice
34 TITLE:=USB multiplexing daemon
35 URL:=https://www.libimobiledevice.org/
36 DEPENDS:=+librt +libusb-1.0 +libusbmuxd +libopenssl +libimobiledevice
37 endef
38
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.
45 endef
46
47 define Package/usbmuxd/conffiles
48 /etc/lockdown
49 /etc/lockdown/SystemConfiguration.plist
50 endef
51
52 CONFIGURE_ARGS += --without-systemd
53
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/
59 endef
60
61 $(eval $(call BuildPackage,usbmuxd))