buildroot/package/hidapi/hidapi.mk
Fabrice Fontaine d178fe6c64 package/hidapi: bump to version 0.11.0
This bump will fix the following build failure raised since
bump of autoconf to version 2.71 in commit
ecd54b65c1 thanks to
d15d594a41:

configure.ac:16: error: AC_CONFIG_MACRO_DIR can only be used once

https://github.com/libusb/hidapi/releases/tag/hidapi-0.11.0

Fixes:
 - http://autobuild.buildroot.org/results/4e55332625b7e55b338368e231f7bc6086403a04

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-10-18 21:19:21 +02:00

23 lines
691 B
Makefile

################################################################################
#
# hidapi
#
################################################################################
HIDAPI_VERSION = 0.11.0
HIDAPI_SITE = $(call github,libusb,hidapi,hidapi-$(HIDAPI_VERSION))
HIDAPI_INSTALL_STAGING = YES
# No configure provided, so we need to autoreconf.
HIDAPI_AUTORECONF = YES
HIDAPI_LICENSE = GPL-3.0 or BSD-3-Clause or HIDAPI license
HIDAPI_LICENSE_FILES = LICENSE.txt LICENSE-gpl3.txt LICENSE-bsd.txt LICENSE-orig.txt
HIDAPI_DEPENDENCIES = libusb libgudev
ifeq ($(BR2_PACKAGE_LIBICONV),y)
HIDAPI_DEPENDENCIES += libiconv
HIDAPI_CONF_ENV += LIBS="-liconv"
endif
$(eval $(autotools-package))