2019-10-11 14:40:42 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libyang
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-07-04 07:56:47 +02:00
|
|
|
LIBYANG_VERSION = 2.0.194
|
2019-10-24 20:11:55 +02:00
|
|
|
LIBYANG_SITE = $(call github,CESNET,libyang,v$(LIBYANG_VERSION))
|
2019-10-11 14:40:42 +02:00
|
|
|
LIBYANG_LICENSE = BSD-3-Clause
|
|
|
|
LIBYANG_LICENSE_FILES = LICENSE
|
|
|
|
LIBYANG_INSTALL_STAGING = YES
|
2021-01-17 15:33:27 +01:00
|
|
|
LIBYANG_CPE_ID_VENDOR = cesnet
|
2019-10-11 14:40:42 +02:00
|
|
|
LIBYANG_SUPPORTS_IN_SOURCE_BUILD = NO
|
2021-11-25 13:55:57 +01:00
|
|
|
LIBYANG_DEPENDENCIES = pcre2
|
|
|
|
HOST_LIBYANG_DEPENDENCIES = host-pcre2
|
2019-10-11 14:40:42 +02:00
|
|
|
|
|
|
|
LIBYANG_CONF_OPTS = \
|
2022-04-03 18:37:37 +02:00
|
|
|
-DENABLE_TESTS=OFF \
|
2022-04-03 18:37:36 +02:00
|
|
|
-DENABLE_VALGRIND_TESTS=OFF
|
2019-10-11 14:40:42 +02:00
|
|
|
|
|
|
|
HOST_LIBYANG_CONF_OPTS = \
|
2022-04-03 18:37:37 +02:00
|
|
|
-DENABLE_TESTS=OFF \
|
2022-04-03 18:37:36 +02:00
|
|
|
-DENABLE_VALGRIND_TESTS=OFF
|
2019-10-11 14:40:42 +02:00
|
|
|
|
|
|
|
$(eval $(cmake-package))
|
|
|
|
$(eval $(host-cmake-package))
|