2017-01-19 13:01:49 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libgpiod
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-02-07 16:54:54 +01:00
|
|
|
LIBGPIOD_VERSION = 1.0
|
2017-09-13 08:36:06 +02:00
|
|
|
LIBGPIOD_SOURCE = libgpiod-$(LIBGPIOD_VERSION).tar.xz
|
|
|
|
LIBGPIOD_SITE = https://www.kernel.org/pub/software/libs/libgpiod
|
2017-05-10 18:25:58 +02:00
|
|
|
LIBGPIOD_LICENSE = LGPL-2.1+
|
2017-01-19 13:01:49 +01:00
|
|
|
LIBGPIOD_LICENSE_FILES = COPYING
|
2017-07-29 04:44:43 +02:00
|
|
|
LIBGPIOD_INSTALL_STAGING = YES
|
2017-05-10 18:25:58 +02:00
|
|
|
|
2017-06-24 11:30:25 +02:00
|
|
|
LIBGPIOD_DEPENDENCIES = host-pkgconf
|
|
|
|
|
2017-01-19 13:01:49 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBGPIOD_TOOLS),y)
|
|
|
|
LIBGPIOD_CONF_OPTS += --enable-tools
|
|
|
|
else
|
|
|
|
LIBGPIOD_CONF_OPTS += --disable-tools
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|