1
0

Makefile 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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_MIRROR_HASH:=7c0d8ea230570344fbc0183c0171689c74baf3d75fff33bbdfca2d1775a4d62d
  20. PKG_FIXUP:=autoreconf
  21. PKG_INSTALL:=1
  22. include $(INCLUDE_DIR)/package.mk
  23. define Package/usbmuxd
  24. SECTION:=utils
  25. CATEGORY:=Utilities
  26. TITLE:=USB multiplexing daemon
  27. URL:=http://www.libimobiledevice.org/
  28. DEPENDS:=+librt +libusb-1.0 +libusbmuxd +libopenssl +libimobiledevice
  29. endef
  30. define Package/usbmuxd/description
  31. This daemon is in charge of multiplexing connections over USB to an iPhone or
  32. iPod touch. To users, it means you can sync your music, contacts, photos, etc.
  33. over USB. To developers, it means you can connect to any listening localhost
  34. socket on the device. usbmuxd is not used for tethering data transfer, which
  35. uses a dedicated USB interface as a virtual network device.
  36. endef
  37. TARGET_CFLAGS += $(FPIC)
  38. define Package/usbmuxd/install
  39. $(INSTALL_DIR) $(1)/usr/sbin
  40. $(CP) $(PKG_INSTALL_DIR)/usr/sbin/usbmuxd $(1)/usr/sbin/
  41. endef
  42. $(eval $(call BuildPackage,usbmuxd))