diff options
Diffstat (limited to 'meta-oe/recipes-support/log4cpp/log4cpp_1.1.4.bb')
-rw-r--r-- | meta-oe/recipes-support/log4cpp/log4cpp_1.1.4.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/log4cpp/log4cpp_1.1.4.bb b/meta-oe/recipes-support/log4cpp/log4cpp_1.1.4.bb new file mode 100644 index 00000000000..a8b9b9a0195 --- /dev/null +++ b/meta-oe/recipes-support/log4cpp/log4cpp_1.1.4.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "A library of C++ classes for flexible logging to files, syslog, IDSA and other destinations." +HOMEPAGE = "http://sourceforge.net/projects/log4cpp/" +LICENSE = "LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" + +SRC_URI = "http://downloads.sourceforge.net/${BPN}/${BP}.tar.gz \ + file://fix-pc.patch;striplevel=2 \ + " +SRC_URI[sha256sum] = "696113659e426540625274a8b251052cc04306d8ee5c42a0c7639f39ca90c9d6" + +S = "${WORKDIR}/${BPN}" + +inherit autotools pkgconfig + +EXTRA_OECONF = "\ + --enable-doxygen=no \ + --enable-dot=no \ + --enable-html-docs=no \ + --enable-latex-docs=no \ +" + +CXXFLAGS += "-std=c++14" + +do_install:append() { + sed -i -e 's|${DEBUG_PREFIX_MAP}||g; s|--sysroot=${STAGING_DIR_TARGET}||g' ${D}${bindir}/log4cpp-config +} |