1
0

Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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:=4
  11. PKG_SOURCE_PROTO:=git
  12. PKG_MAINTAINER:=Lukasz Baj <l.baj@radytek.com>
  13. PKG_LICENSE:=GPL-2.0
  14. PKG_LICENSE_FILES:=COPYING.GPLv2
  15. PKG_SOURCE_URL:=https://github.com/libimobiledevice/usbmuxd.git
  16. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  17. PKG_SOURCE_VERSION:=35e5d48f29ae03b2b9686109e4ed9ab8b9677ce8
  18. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
  19. PKG_FIXUP:=autoreconf
  20. PKG_INSTALL:=1
  21. include $(INCLUDE_DIR)/package.mk
  22. define Package/usbmuxd
  23. SECTION:=utils
  24. CATEGORY:=Utilities
  25. TITLE:=USB multiplexing daemon
  26. URL:=http://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. TARGET_CFLAGS += $(FPIC)
  37. define Package/usbmuxd/install
  38. $(INSTALL_DIR) $(1)/usr/sbin
  39. $(CP) $(PKG_INSTALL_DIR)/usr/sbin/usbmuxd $(1)/usr/sbin/
  40. endef
  41. $(eval $(call BuildPackage,usbmuxd))