Blame view

buildroot/buildroot-2016.08.1/package/usbredir/usbredir.mk 878 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  ################################################################################
  #
  # usbredir
  #
  ################################################################################
  
  USBREDIR_VERSION = 0.7.1
  USBREDIR_SOURCE = usbredir-$(USBREDIR_VERSION).tar.bz2
  USBREDIR_SITE = http://spice-space.org/download/usbredir
  USBREDIR_LICENSE = LGPLv2.1+
  USBREDIR_LICENSE_FILES = COPYING.LIB
  USBREDIR_INSTALL_STAGING = YES
  USBREDIR_DEPENDENCIES = host-pkgconf libusb
  
  ifeq ($(BR2_PACKAGE_USBREDIR_SERVER),y)
  
  USBREDIR_LICENSE += (for the library), GPLv2+ (for the server)
  USBREDIR_LICENSE_FILES += COPYING
  
  else # BR2_PACKAGE_USBREDIR_SERVER != y
  
  define USBREDIR_POST_INSTALL_TARGET_RM_SERVER
  	rm -f $(TARGET_DIR)/usr/sbin/usbredirserver
  endef
  USBREDIR_POST_INSTALL_TARGET_HOOKS += USBREDIR_POST_INSTALL_TARGET_RM_SERVER
  
  endif # BR2_PACKAGE_USBREDIR_SERVER
  
  $(eval $(autotools-package))