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.

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