Skip to contentSkip to conversation

log4cpp : Add new recipe.

PATCH In review Philip Balister 2 participants 2 messages Dec 23, 2014 – Jan 1, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 log4cpp : Add new recipe.

Built for armv7a basad machine.

---
 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
meta-oe/recipes-support/log4cpp/log4cpp_1.1.1.bb new file +23 -0
new file mode 100644
index 0000000..1e0a44c
@@ -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"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "\
+    --enable-doxygen=no \
+    --enable-dot=no \
+    --enable-html-docs=no \
+    --enable-latex-docs=no \
+    LDFLAGS=-lpthread \
+"
Signature · 1 line
2.1.0
#1 lore raw
Quoted 20 lines · Philip Balister

Built for armv7a basad machine.

---
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

meta-oe/recipes-support/log4cpp/log4cpp_1.1.1.bb new file +3 -0
new file mode 100644
index 0000000..1e0a44c
@@ -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"

meta-oe/recipes-support/log4cpp/log4cpp_1.1.1.bb line 13

Quoted 10 lines
meta-oe/recipes-support/log4cpp/log4cpp_1.1.1.bb new file +10 -0
+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 =

meta-oe/recipes-support/log4cpp/log4cpp_1.1.1.bb line 21

Quoted 8 lines
meta-oe/recipes-support/log4cpp/log4cpp_1.1.1.bb new file +8 -0
+
+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

meta-oe/recipes-support/log4cpp/log4cpp_1.1.1.bb line 22

Quoted 1 line
meta-oe/recipes-support/log4cpp/log4cpp_1.1.1.bb new file +1 -0
+    LDFLAGS=-lpthread \

this could be an independent assignment

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

Quoted 9 lines
meta-oe/recipes-support/log4cpp/log4cpp_1.1.1.bb new file +1 -0
+"
Signature · 7 lines
2.1.0

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