You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.7 KiB

  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=usbmuxd
  9. PKG_SOURCE_DATE:=2020-01-20
  10. PKG_SOURCE_VERSION:=8a69f1a78a58476f77b66916091d2405d0cd815f
  11. PKG_RELEASE:=2
  12. PKG_SOURCE_PROTO:=git
  13. PKG_SOURCE_URL=https://github.com/libimobiledevice/usbmuxd
  14. PKG_MIRROR_HASH:=cf6046fccd1a03d7970618b7ad958ef1437f717cc81af706ddf62c09a1746743
  15. PKG_MAINTAINER:=Rosen Penev <rosenp@gmail.com>
  16. PKG_LICENSE:=GPL-2.0-or-later
  17. PKG_LICENSE_FILES:=COPYING.GPLv2
  18. PKG_CPE_ID:=cpe:/a:libimobiledevice:usbmuxd
  19. PKG_FIXUP:=autoreconf
  20. PKG_INSTALL:=1
  21. PKG_BUILD_PARALLEL:=1
  22. include $(INCLUDE_DIR)/package.mk
  23. define Package/usbmuxd
  24. SECTION:=utils
  25. CATEGORY:=Utilities
  26. SUBMENU:=libimobiledevice
  27. TITLE:=USB multiplexing daemon
  28. URL:=https://www.libimobiledevice.org/
  29. DEPENDS:=+librt +libusb-1.0 +libusbmuxd +libopenssl +libimobiledevice
  30. endef
  31. define Package/usbmuxd/description
  32. This daemon is in charge of multiplexing connections over USB to an iPhone or
  33. iPod touch. To users, it means you can sync your music, contacts, photos, etc.
  34. over USB. To developers, it means you can connect to any listening localhost
  35. socket on the device. usbmuxd is not used for tethering data transfer, which
  36. uses a dedicated USB interface as a virtual network device.
  37. endef
  38. define Package/usbmuxd/conffiles
  39. /etc/lockdown
  40. /etc/lockdown/SystemConfiguration.plist
  41. endef
  42. CONFIGURE_ARGS += --with-systemd
  43. define Package/usbmuxd/install
  44. $(INSTALL_DIR) $(1)/etc/init.d
  45. $(INSTALL_BIN) ./files/usbmuxd.init $(1)/etc/init.d/usbmuxd
  46. $(INSTALL_DIR) $(1)/usr/sbin
  47. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/usbmuxd $(1)/usr/sbin/
  48. endef
  49. $(eval $(call BuildPackage,usbmuxd))