DESCRIPTION = "A library of C++ classes for flexible logging to files, syslog, IDSA and other destinations."
HOMEPAGE = "http://sourceforge.net/projects/log4cpp/"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"

RC = "rc5"
SRC_URI = "http://downloads.sourceforge.net/${BPN}/${BP}${RC}.tar.gz \
           file://fix-pc.patch;striplevel=2 \
          "
SRC_URI[md5sum] = "58b4591a2f3e7ef3d5e3e7cfb3a81a62"
SRC_URI[sha256sum] = "a611d99a20af6676c60219762771c0bfac90f4879bbde70038ece75338b588ec"

S = "${WORKDIR}/${BPN}"

inherit autotools pkgconfig

EXTRA_OECONF = "\
    --enable-doxygen=no \
    --enable-dot=no \
    --enable-html-docs=no \
    --enable-latex-docs=no \
"

DESCRIPTION = "A library of C++ classes for flexible logging to files, syslog, IDSA and other destinations."
HOMEPAGE = "http://sourceforge.net/projects/log4cpp/"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"

PRC = "rc5"
SRC_URI = "http://downloads.sourceforge.net/${BPN}/${BP}${PRC}.tar.gz \
           file://fix-pc.patch;striplevel=2 \
          "
SRC_URI[md5sum] = "58b4591a2f3e7ef3d5e3e7cfb3a81a62"
SRC_URI[sha256sum] = "a611d99a20af6676c60219762771c0bfac90f4879bbde70038ece75338b588ec"

S = "${WORKDIR}/${BPN}"

inherit autotools pkgconfig

EXTRA_OECONF = "\
    --enable-doxygen=no \
    --enable-dot=no \
    --enable-html-docs=no \
    --enable-latex-docs=no \
"

Stop using RC as a variable
log4cpp: Stop using RC as a variable

This recipe cannot be parsed when using meta-mingw because ${RC} expands
to the Windows resource compiler. Let's use PRC instead to avoid that
problem.

Signed-off-by: Mike Crowe <347ead6348e936507920c15d2ae8266ac6ce9b49@mcrowe.com>
Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>
