257efc7405
In order for the libyang version to match what is given by release-monitoring.org, the 'v' prefix should be encoded in LIBYANG_SITE and not LIBYANG_VERSION. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
26 lines
687 B
Makefile
26 lines
687 B
Makefile
################################################################################
|
|
#
|
|
# libyang
|
|
#
|
|
################################################################################
|
|
|
|
LIBYANG_VERSION = 1.0-r3
|
|
LIBYANG_SITE = $(call github,CESNET,libyang,v$(LIBYANG_VERSION))
|
|
LIBYANG_LICENSE = BSD-3-Clause
|
|
LIBYANG_LICENSE_FILES = LICENSE
|
|
LIBYANG_INSTALL_STAGING = YES
|
|
LIBYANG_SUPPORTS_IN_SOURCE_BUILD = NO
|
|
LIBYANG_DEPENDENCIES = pcre
|
|
HOST_LIBYANG_DEPENDENCIES = host-pcre
|
|
|
|
LIBYANG_CONF_OPTS = \
|
|
-DENABLE_VALGRIND_TESTS=OFF \
|
|
-DGEN_PYTHON_BINDINGS=OFF
|
|
|
|
HOST_LIBYANG_CONF_OPTS = \
|
|
-DENABLE_VALGRIND_TESTS=OFF \
|
|
-DGEN_PYTHON_BINDINGS=OFF
|
|
|
|
$(eval $(cmake-package))
|
|
$(eval $(host-cmake-package))
|