python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / libusb / libusb.mk
blob4d05feb801556c21294df9a2fb120ad3e949a7e4
1 ################################################################################
3 # libusb
5 ################################################################################
7 LIBUSB_VERSION_MAJOR = 1.0
8 LIBUSB_VERSION = $(LIBUSB_VERSION_MAJOR).20
9 LIBUSB_SOURCE = libusb-$(LIBUSB_VERSION).tar.bz2
10 LIBUSB_SITE = https://github.com/libusb/libusb/releases/download/v$(LIBUSB_VERSION)
11 LIBUSB_LICENSE = LGPLv2.1+
12 LIBUSB_LICENSE_FILES = COPYING
13 LIBUSB_DEPENDENCIES = host-pkgconf
14 LIBUSB_INSTALL_STAGING = YES
15 # 0001-parallel-make.patch
16 LIBUSB_AUTORECONF = YES
18 # Avoid the discovery of udev for the host variant
19 HOST_LIBUSB_CONF_OPTS = --disable-udev
20 HOST_LIBUSB_DEPENDENCIES = host-pkgconf
22 ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
23 LIBUSB_DEPENDENCIES += udev
24 else
25 LIBUSB_CONF_OPTS += --disable-udev
26 endif
28 $(eval $(autotools-package))
29 $(eval $(host-autotools-package))