2015-11-16 17:54:12 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# hidapi
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-04-05 21:43:36 +02:00
|
|
|
HIDAPI_VERSION = 0.10.1
|
2019-09-23 21:00:42 +02:00
|
|
|
HIDAPI_SITE = $(call github,libusb,hidapi,hidapi-$(HIDAPI_VERSION))
|
2015-11-16 17:54:12 +01:00
|
|
|
HIDAPI_INSTALL_STAGING = YES
|
|
|
|
# No configure provided, so we need to autoreconf.
|
|
|
|
HIDAPI_AUTORECONF = YES
|
2017-03-30 15:43:38 +02:00
|
|
|
HIDAPI_LICENSE = GPL-3.0 or BSD-3-Clause or HIDAPI license
|
2015-11-16 17:54:12 +01:00
|
|
|
HIDAPI_LICENSE_FILES = LICENSE.txt LICENSE-gpl3.txt LICENSE-bsd.txt LICENSE-orig.txt
|
|
|
|
|
2015-12-02 12:27:06 +01:00
|
|
|
HIDAPI_DEPENDENCIES = libusb libgudev
|
2015-11-16 17:54:12 +01:00
|
|
|
|
2015-12-30 22:17:00 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|
|
|
HIDAPI_DEPENDENCIES += libiconv
|
|
|
|
HIDAPI_CONF_ENV += LIBS="-liconv"
|
|
|
|
endif
|
|
|
|
|
2015-11-16 17:54:12 +01:00
|
|
|
$(eval $(autotools-package))
|