Skip to contentSkip to conversation

cpp-netlib: add bitbake recipe

PATCH In review Sinan Kaya 2 participants 6 messages Nov 21, 2020 – Nov 23, 2020

lore
Share & tools
lore

Sinan Kaya

author
#0 lore raw

PATCH 1/1 cpp-netlib: add bitbake recipe

Adding recipe for cpp-net library.

---
 .../cpp-netlib/cpp-netlib_git.bb              | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-oe/recipes-support/cpp-netlib/cpp-netlib_git.bb
meta-oe/recipes-support/cpp-netlib/cpp-netlib_git.bb new file +26 -0
new file mode 100644
index 0000000000..472b72fc2e
@@ -0,0 +1,26 @@
+DESCRIPTION = "Modern C++ network programming libraries."
+
+# This library provides general purpose network functionality such as
+# socket communication to agent libraries. It was designed to be merged
+# into boost at some point and follows similar header library approach
+# for most functionality.
+
+SECTION = "libs"
+LICENSE = "BSL-1.0 & MIT & Python-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
+
+SRC_URI = "\
+    git://github.com/cpp-netlib/cpp-netlib.git;protocol=https;branch=0.13-release  \
+"
+SRC_URI[sha256sum] = "0b9255bb0668d89867a1f367d770f12d7038db4f5b6111774ef032f669cccad4"
+
+SRCREV = "ca95f04d140acf619892ee02a82e930dd91ff7d4"
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
+
+DEPENDS = "zlib boost openssl"
+
+EXTRA_OECMAKE_append = " -DCPP-NETLIB_BUILD_TESTS=OFF -DCPP-NETLIB_BUILD_EXAMPLES=OFF"
+
Signature · 1 line
2.17.1
#1 lore raw

can we add it to testing packagegroup too please ?

Quoted 47 lines · Sinan Kaya

Adding recipe for cpp-net library.

---
 .../cpp-netlib/cpp-netlib_git.bb              | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-oe/recipes-support/cpp-netlib/cpp-netlib_git.bb
meta-oe/recipes-support/cpp-netlib/cpp-netlib_git.bb new file +26 -1
new file mode 100644
index 0000000000..472b72fc2e
@@ -0,0 +1,26 @@
+DESCRIPTION = "Modern C++ network programming libraries."
+
+# This library provides general purpose network functionality such as
+# socket communication to agent libraries. It was designed to be merged
+# into boost at some point and follows similar header library approach
+# for most functionality.
+
+SECTION = "libs"
+LICENSE = "BSL-1.0 & MIT & Python-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
+
+SRC_URI = "\
+    git://github.com/cpp-netlib/cpp-netlib.git;protocol=https;branch=0.13-release  \
+"
+SRC_URI[sha256sum] = "0b9255bb0668d89867a1f367d770f12d7038db4f5b6111774ef032f669cccad4"
+
+SRCREV = "ca95f04d140acf619892ee02a82e930dd91ff7d4"
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
+
+DEPENDS = "zlib boost openssl"
+
+EXTRA_OECMAKE_append = " -DCPP-NETLIB_BUILD_TESTS=OFF -DCPP-NETLIB_BUILD_EXAMPLES=OFF"
+
--

2.17.1

author
#2 lore raw
Quoted 1 line · Khem Raj

can we add it to testing packagegroup too please ?

hmm, why would this belong to testing group?

This is a support library for networking similar to boost.

#3 lore raw
Quoted 7 lines · Sinan Kaya
Quoted 1 line · Khem Raj

can we add it to testing packagegroup too please ?

hmm, why would this belong to testing group?

This is a support library for networking similar to boost.

I guess, I should have been a bit more clear. So question is/was if this package should be packages into packagegroup-meta-oe as well, since this helps in ensuring that we can find any packaging issues etc. which normal world builds dont.

#4 lore raw
Quoted 5 lines · Khem Raj
Quoted 4 lines · Sinan Kaya
Quoted 1 line · Khem Raj

can we add it to testing packagegroup too please ?

Quoted 9 lines
Quoted 3 lines

hmm, why would this belong to testing group?

This is a support library for networking similar to boost.

I guess, I should have been a bit more clear. So question is/was if this package should be packages into packagegroup-meta-oe as well, since this helps in ensuring that we can find any packaging issues etc. which normal world builds dont.

So I added the needed comment in packagegroup as this is a libs+header only package and accepted the change

author
#5 lore raw
Quoted 9 lines · Khem Raj
Quoted 6 lines

I guess, I should have been a bit more clear. So question is/was if this package
should be packages into packagegroup-meta-oe as well, since this helps in ensuring that we can find any packaging issues etc. which normal world builds dont.

So I added the needed comment in packagegroup as this is a libs+header only package and accepted the change

thanks