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:=2019-12-16
  10. PKG_SOURCE_VERSION:=ec5ff91cfabd30637f8af8f5c79baf4d7818ce57
  11. PKG_RELEASE:=1
  12. PKG_SOURCE_PROTO:=git
  13. PKG_SOURCE_URL=https://github.com/libimobiledevice/usbmuxd
  14. PKG_MIRROR_HASH:=1d0f2fa3842fbcbebe4b7d323829703e29a3c1a078c62b4a783e4c99a8a2f576
  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 += --without-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))