stm32flash: moved to github
[packages.git] / utils / usbmuxd / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=usbmuxd
11 PKG_VERSION:=1.0.8
12 PKG_RELEASE:=2
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://www.libimobiledevice.org/downloads
16 PKG_MD5SUM:=4b33cc78e479e0f9a6745f9b9a8b60a8
17
18 CMAKE_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21 include $(INCLUDE_DIR)/cmake.mk
22
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
29 endef
30
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
39 TARGET_CFLAGS += $(FPIC)
40
41 define Package/usbmuxd/install
42         $(INSTALL_DIR) $(1)/usr/sbin
43         $(CP) $(PKG_INSTALL_DIR)/usr/sbin/usbmuxd $(1)/usr/sbin/
44 endef
45
46 $(eval $(call BuildPackage,usbmuxd))