[oe] [meta-oe][PATCH] log4cpp : Add new recipe.

Khem Raj raj.khem at gmail.com
Thu Jan 1 03:21:46 UTC 2015


> On Dec 23, 2014, at 12:46 PM, Philip Balister <philip at balister.org> wrote:
> 
> Built for armv7a basad machine.
> 
> Signed-off-by: Philip Balister <philip at balister.org>
> ---
> meta-oe/recipes-support/log4cpp/log4cpp_1.1.1.bb | 23 +++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
> create mode 100644 meta-oe/recipes-support/log4cpp/log4cpp_1.1.1.bb
> 
> diff --git a/meta-oe/recipes-support/log4cpp/log4cpp_1.1.1.bb b/meta-oe/recipes-support/log4cpp/log4cpp_1.1.1.bb
> new file mode 100644
> index 0000000..1e0a44c
> --- /dev/null
> +++ b/meta-oe/recipes-support/log4cpp/log4cpp_1.1.1.bb
> @@ -0,0 +1,23 @@
> +DESCRIPTION = "A library of C++ classes for flexible logging to files, syslog, IDSA and other destinations."
> +HOMEPAGE = "http://sourceforge.net/projects/log4cpp/"
> +PRIORITY = "optional"
> +LICENSE = "LGPLv2.1"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
> +
> +SRC_URI[md5sum] = "1e173df8ee97205f412ff84aa93b8fbe"
> +SRC_URI[sha256sum] = "35abf332630a6809c969276b1d60b90c81a95daf24c86cfd7866ffef72f9bed0"
> +
> +SRC_URI = "http://downloads.sourceforge.net/log4cpp/log4cpp-${PV}.tar.gz \
> +          "
> +
> +S="${WORKDIR}/log4cpp”

may be spaces on both sides of =

> +
> +inherit autotools pkgconfig
> +
> +EXTRA_OECONF = "\
> +    --enable-doxygen=no \
> +    --enable-dot=no \
> +    --enable-html-docs=no \
> +    --enable-latex-docs=no \

may be use CACHED_CONFIGUREVARS to specify these

> +    LDFLAGS=-lpthread \

this could be an independent assignment

LDFLAGS += “-pthread” no -l there gcc should
take care of it.

> +"
> -- 
> 2.1.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