diff mbox series

[master-wip,4/8] libnetconf2: move and clean up

Message ID 20250311200139.3845524-4-denis@denix.org
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [master-wip,1/8] sysrepo: move and clean up | expand

Commit Message

Denys Dmytriyenko March 11, 2025, 8:01 p.m. UTC
From: Denys Dmytriyenko <denys@konsulko.com>

* Move into recipes-extended
* Shorten SUMMARY, split DESCRIPTION
* Don't hardcode /usr when passing to CMake

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
 .../sysrepo}/libnetconf2_git.bb                          | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
 rename meta-arago-extras/{recipes-sysrepo/libnetconf2 => recipes-extended/sysrepo}/libnetconf2_git.bb (51%)
diff mbox series

Patch

diff --git a/meta-arago-extras/recipes-sysrepo/libnetconf2/libnetconf2_git.bb b/meta-arago-extras/recipes-extended/sysrepo/libnetconf2_git.bb
similarity index 51%
rename from meta-arago-extras/recipes-sysrepo/libnetconf2/libnetconf2_git.bb
rename to meta-arago-extras/recipes-extended/sysrepo/libnetconf2_git.bb
index c55c9ff5..3ffd19ea 100644
--- a/meta-arago-extras/recipes-sysrepo/libnetconf2/libnetconf2_git.bb
+++ b/meta-arago-extras/recipes-extended/sysrepo/libnetconf2_git.bb
@@ -1,5 +1,6 @@ 
-SUMMARY = "libnetconf2 is a NETCONF library in C intended for building NETCONF clients and servers"
-DESCRIPTION = "The library provides functions to connect NETCONF client and server to each other via SSH and to send, receive and process NETCONF messages."
+SUMMARY = "NETCONF library in C for building NETCONF clients and servers"
+DESCRIPTION = "The library provides functions to connect NETCONF client and server \
+to each other via SSH and to send, receive and process NETCONF messages."
 SECTION = "libs"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=08a5578c9bab06fb2ae84284630b973f"
@@ -17,8 +18,6 @@  FILES:${PN} += "${datadir}/yang/modules/libnetconf2/*"
 
 inherit cmake pkgconfig
 
-# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
-#EXTRA_OECMAKE = " -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE:String=Release -DLIBYANG_INCLUDE_DIR=/usr/include -DLIBYANG_LIBRARY=/usr/lib "
-EXTRA_OECMAKE = " -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE:String=Release "
+EXTRA_OECMAKE = "-DCMAKE_INSTALL_PREFIX:PATH=${prefix} -DCMAKE_BUILD_TYPE:String=Release"
 
 BBCLASSEXTEND = "native nativesdk"