1 ################################################################################
5 ################################################################################
7 # Use master version as the current stable is very old and some bugs
8 # have been fixed since then.
9 HIDAPI_VERSION
= b5b2e1779b6cd2edda3066bbbf0921a2d6b1c3c0
10 HIDAPI_SITE
= $(call github
,signal11
,hidapi
,$(HIDAPI_VERSION
))
11 HIDAPI_INSTALL_STAGING
= YES
12 # No configure provided, so we need to autoreconf.
13 HIDAPI_AUTORECONF
= YES
14 HIDAPI_LICENSE
= GPLv3 or BSD-3c or HIDAPI license
15 HIDAPI_LICENSE_FILES
= LICENSE.txt LICENSE-gpl3.txt LICENSE-bsd.txt LICENSE-orig.txt
17 HIDAPI_DEPENDENCIES
= libusb libgudev
19 ifeq ($(BR2_PACKAGE_LIBICONV
),y
)
20 HIDAPI_DEPENDENCIES
+= libiconv
21 HIDAPI_CONF_ENV
+= LIBS
="-liconv"
24 $(eval
$(autotools-package
))