1 ################################################################################
5 ################################################################################
7 LIBUSB_VERSION_MAJOR
= 1.0
8 LIBUSB_VERSION
= $(LIBUSB_VERSION_MAJOR
).18
9 LIBUSB_SOURCE
= libusb-
$(LIBUSB_VERSION
).
tar.bz2
10 LIBUSB_SITE
= http
://downloads.sourceforge.net
/project
/libusb
/libusb-
$(LIBUSB_VERSION_MAJOR
)/libusb-
$(LIBUSB_VERSION
)
11 LIBUSB_LICENSE
= LGPLv2.1
+
12 LIBUSB_LICENSE_FILES
= COPYING
13 LIBUSB_DEPENDENCIES
= host-pkgconf
14 LIBUSB_INSTALL_STAGING
= YES
16 # Avoid the discovery of udev for the host variant
17 HOST_LIBUSB_CONF_OPT
= --disable-udev
18 HOST_LIBUSB_DEPENDENCIES
= host-pkgconf
21 LIBUSB_CONF_OPT
+= --disable-timerfd
24 ifeq ($(BR2_PACKAGE_HAS_UDEV
),y
)
25 LIBUSB_DEPENDENCIES
+= udev
27 LIBUSB_CONF_OPT
+= --disable-udev
30 $(eval
$(autotools-package
))
31 $(eval
$(host-autotools-package
))