[oe] [meta-oe][PATCH 1/2] gflags: New recipe

ml at embed.me.uk ml at embed.me.uk
Thu Aug 11 12:22:32 UTC 2016


On 11/08/16 11:10, Ricardo Ribalda Delgado wrote:
> C++ library that implements commandline flags processing. It includes
> built-in support for standard types such as string and the ability to
> define flags in the source file in which they are used.
>
> Used optionally by glog
>
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda at gmail.com>
> ---
>   meta-oe/recipes-support/gflags/gflags_2.1.2.bb | 18 ++++++++++++++++++
>   1 file changed, 18 insertions(+)
>   create mode 100644 meta-oe/recipes-support/gflags/gflags_2.1.2.bb
>
> diff --git a/meta-oe/recipes-support/gflags/gflags_2.1.2.bb b/meta-oe/recipes-support/gflags/gflags_2.1.2.bb
> new file mode 100644
> index 000000000000..ac8d2ceeaa8a
> --- /dev/null
> +++ b/meta-oe/recipes-support/gflags/gflags_2.1.2.bb
> @@ -0,0 +1,18 @@
> +DESCRIPTION = "The gflags package contains a C++ library that implements commandline flags processing. It includes built-in support for standard types such as string and the ability to define flags in the source file in which they are used"
> +
> +HOMEPAGE = "https://github.com/gflags/gflags"
> +
> +RDEPENDS_${PN} += "bash"

Where does this dependency come from, seems odd that a compiled library 
should depend on bash?

> +
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=c80d1a3b623f72bb85a4c75b556551df"
> +
> +SRC_URI = "git://github.com/gflags/gflags.git;;nobranch=1"
> +SRCREV = "1a02f2851ee3d48d32d2c8f4d8f390a0bc25565c"
> +S = "${WORKDIR}/git/"
> +
> +FILES_${PN}-dev += "${libdir}/cmake"
> +
> +inherit cmake
> +
> +EXTRA_OECMAKE="-DBUILD_SHARED_LIBS=ON"




More information about the Openembedded-devel mailing list