31341e8d40
In order to fix some other build problem of libhid, we'll need to do modifications to the configure.ac. Therefore, let's first convert the current patch on configure to a patch on configure.ac, and mark the package as AUTORECONF=YES. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
23 lines
654 B
Makefile
23 lines
654 B
Makefile
#############################################################
|
|
#
|
|
# libhid
|
|
#
|
|
#############################################################
|
|
|
|
LIBHID_VERSION = 0.2.16
|
|
LIBHID_SOURCE = libhid-$(LIBHID_VERSION).tar.gz
|
|
LIBHID_SITE = http://alioth.debian.org/frs/download.php/1958
|
|
LIBHID_DEPENDENCIES = libusb-compat libusb
|
|
LIBHID_INSTALL_STAGING = YES
|
|
LIBHID_AUTORECONF = YES
|
|
# configure runs libusb-config for cflags/ldflags. Ensure it picks up
|
|
# the target version
|
|
LIBHID_CONF_ENV = PATH=$(STAGING_DIR)/usr/bin:$(TARGET_PATH)
|
|
LIBHID_CONF_OPT = \
|
|
--disable-swig \
|
|
--disable-werror \
|
|
--without-doxygen \
|
|
--disable-package-config
|
|
|
|
$(eval $(autotools-package))
|