open-plc-utils: new package
[buildroot-gz.git] / package / usbredir / usbredir.mk
blobdc87321bc3d18b539b42253f1aeb4bba3157157d
1 ################################################################################
3 # usbredir
5 ################################################################################
7 USBREDIR_VERSION = 0.6
8 USBREDIR_SOURCE = usbredir-$(USBREDIR_VERSION).tar.bz2
9 USBREDIR_SITE = http://spice-space.org/download/usbredir
10 USBREDIR_LICENSE = LGPLv2.1+
11 USBREDIR_LICENSE_FILES = COPYING.LIB
12 USBREDIR_INSTALL_STAGING = YES
13 USBREDIR_DEPENDENCIES = host-pkgconf libusb
15 ifeq ($(BR2_PACKAGE_USBREDIR_SERVER),y)
17 USBREDIR_LICENSE += (for the library), GPLv2+ (for the server)
18 USBREDIR_LICENSE_FILES += COPYING
20 else # BR2_PACKAGE_USBREDIR_SERVER != y
22 define USBREDIR_POST_INSTALL_TARGET_RM_SERVER
23 rm -f $(TARGET_DIR)/usr/sbin/usbredirserver
24 endef
25 USBREDIR_POST_INSTALL_TARGET_HOOKS += USBREDIR_POST_INSTALL_TARGET_RM_SERVER
27 endif # BR2_PACKAGE_USBREDIR_SERVER
29 $(eval $(autotools-package))