libyang: update to 1.0.225
authorRosen Penev <rosenp@gmail.com>
Sat, 20 Mar 2021 23:55:09 +0000 (16:55 -0700)
committerRosen Penev <rosenp@gmail.com>
Fri, 26 Mar 2021 20:13:07 +0000 (13:13 -0700)
Switch to AUTORELEASE for simplicity.

Switch to building with Ninja for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/libyang/Makefile

index 8fed2bdb995427e7ae5d12de20ae9a4edfe3573c..5b8ac76107fd61291fd3050fc6b3cfff633cb53c 100644 (file)
@@ -8,23 +8,22 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libyang
-PKG_VERSION:=1.0.215
-PKG_RELEASE:=1
+PKG_VERSION:=1.0.225
+PKG_RELEASE:=$(AUTORELEASE)
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/CESNET/libyang/tar.gz/v$(PKG_VERSION)?
-PKG_HASH:=c4498a77a7c12a28c9911f993eeafbf2badd2ecea58bb74781bd61cfc635e4c9
+PKG_HASH:=1b736443d2c69b5d7a71ac412655e6edab0647b18f35f7bf504b0a24e06cb046
 
 PKG_MAINTAINER:=Jakov Smolic <jakov.smolic@sartura.hr>
 PKG_LICENSE:=BSD-3-Clause
 PKG_LICENSE_FILES:=LICENSE
 
 CMAKE_INSTALL:=1
-PKG_BUILD_PARALLEL:=1
 CMAKE_BINARY_SUBDIR:=build
 
 include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/cmake.mk
+include ../../devel/ninja/ninja-cmake.mk
 
 define Package/libyang
   SECTION:=libs
@@ -61,7 +60,6 @@ CMAKE_OPTIONS += \
        -DGEN_LANGUAGE_BINDINGS=ON \
        -DGEN_PYTHON_BINDINGS=OFF
 
-
 define Package/libyang/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libyang.so* $(1)/usr/lib/