Skip to contentSkip to conversation

cli11: Add recipe

PATCH Superseded William A. Kennington III 2 participants 3 messages Jan 15, 2019 – Jan 16, 2019 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH v2 1/1 cli11: Add recipe

cli11 is a c++ command line parser library that provides a simple user interface with modern c++ semantics.

---
 meta-oe/recipes-support/cli11/cli11_1.6.2.bb | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-oe/recipes-support/cli11/cli11_1.6.2.bb
meta-oe/recipes-support/cli11/cli11_1.6.2.bb new file +16 -0
new file mode 100644
index 000000000..507824def
@@ -0,0 +1,16 @@
+SUMMARY = "C++11 command line parser"
+DESCRIPTION = "A command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface."
+HOMEPAGE = "https://github.com/CLIUtils/CLI11"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c271fee3ae28e11b24b97284d9f82887"
+SRCREV = "bd4dc911847d0cde7a6b41dfa626a85aab213baf"
+PV = "1.6.2"
+
+SRC_URI += "gitsm://github.com/CLIUtils/CLI11"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+inherit ptest
+
+DEPENDS += "boost"
Signature · 1 line
2.18.0
#2 lore raw
Quoted 16 lines · William A. Kennington III via Openembedded-devel

cli11 is a c++ command line parser library that provides a simple user interface with modern c++ semantics.

---
 meta-oe/recipes-support/cli11/cli11_1.6.2.bb | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-oe/recipes-support/cli11/cli11_1.6.2.bb
meta-oe/recipes-support/cli11/cli11_1.6.2.bb new file +0 -0
new file mode 100644
index 000000000..507824def

meta-oe/recipes-support/cli11/cli11_1.6.2.bb line 7

Quoted 7 lines
meta-oe/recipes-support/cli11/cli11_1.6.2.bb new file +7 -0
@@ -0,0 +1,16 @@
+SUMMARY = "C++11 command line parser"
+DESCRIPTION = "A command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface."
+HOMEPAGE = "https://github.com/CLIUtils/CLI11"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c271fee3ae28e11b24b97284d9f82887"
+SRCREV = "bd4dc911847d0cde7a6b41dfa626a85aab213baf"
+PV = "1.6.2"

We don't need to set PV in recipe, since recipe name itself is communicating it already.
maybe adding

PV .= "+git${SRCPV}" would be nicer since it would ensure that there is a dep on SRCREV

Quoted 17 lines
meta-oe/recipes-support/cli11/cli11_1.6.2.bb new file +9 -1
+
+SRC_URI += "gitsm://github.com/CLIUtils/CLI11"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+inherit ptest
+
+DEPENDS += "boost"
--

2.18.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw

PATCH v3 1/1 cli11: Add recipe

In reply to a message not in the archive

cli11 is a c++ command line parser library that provides a simple user interface with modern c++ semantics.

---
 meta-oe/recipes-support/cli11/cli11_1.6.2.bb | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-oe/recipes-support/cli11/cli11_1.6.2.bb
meta-oe/recipes-support/cli11/cli11_1.6.2.bb new file +16 -0
new file mode 100644
index 000000000..6899b1264
@@ -0,0 +1,16 @@
+SUMMARY = "C++11 command line parser"
+DESCRIPTION = "A command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface."
+HOMEPAGE = "https://github.com/CLIUtils/CLI11"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c271fee3ae28e11b24b97284d9f82887"
+SRCREV = "bd4dc911847d0cde7a6b41dfa626a85aab213baf"
+PV .= "+git${SRCPV}"
+
+SRC_URI += "gitsm://github.com/CLIUtils/CLI11"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+inherit ptest
+
+DEPENDS += "boost"
Signature · 1 line
2.20.1