2019-10-11 14:40:42 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libyang
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-03-24 13:34:04 +01:00
|
|
|
LIBYANG_VERSION = 1.0.225
|
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
|
|
|
|
LIBYANG_DEPENDENCIES = pcre
|
|
|
|
HOST_LIBYANG_DEPENDENCIES = host-pcre
|
|
|
|
|
|
|
|
LIBYANG_CONF_OPTS = \
|
|
|
|
-DENABLE_VALGRIND_TESTS=OFF \
|
2020-02-25 16:53:21 +01:00
|
|
|
-DGEN_PYTHON_BINDINGS=OFF \
|
|
|
|
-DENABLE_LYD_PRIV=ON
|
2019-10-11 14:40:42 +02:00
|
|
|
|
|
|
|
HOST_LIBYANG_CONF_OPTS = \
|
|
|
|
-DENABLE_VALGRIND_TESTS=OFF \
|
|
|
|
-DGEN_PYTHON_BINDINGS=OFF
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|
|
|
|
$(eval $(host-cmake-package))
|