[oe] [meta-oe][PATCH v2] cli11: Add recipe

Khem Raj raj.khem at gmail.com
Wed Jan 16 00:37:31 UTC 2019


On Tue, Jan 15, 2019 at 3:57 PM William A. Kennington III via
Openembedded-devel <openembedded-devel at lists.openembedded.org> wrote:
>
> cli11 is a c++ command line parser library that provides a simple
> user interface with modern c++ semantics.
>
> Signed-off-by: William A. Kennington III <wak at google.com>
> ---
>  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
>
> diff --git a/meta-oe/recipes-support/cli11/cli11_1.6.2.bb b/meta-oe/recipes-support/cli11/cli11_1.6.2.bb
> new file mode 100644
> index 000000000..507824def
> --- /dev/null
> +++ b/meta-oe/recipes-support/cli11/cli11_1.6.2.bb
> @@ -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

> +
> +SRC_URI += "gitsm://github.com/CLIUtils/CLI11"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit cmake
> +inherit ptest
> +
> +DEPENDS += "boost"
> --
> 2.18.0
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


More information about the Openembedded-devel mailing list