Files
Qi.Chen@windriver.com f76ad6c694 znc: fix QA issue and remove from blacklist
Modify the .pc file to fix the following QA problem.

  "BROKEN: QA Issue: znc.pc failed sanity test"

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-05-13 23:07:06 -07:00

32 lines
911 B
BlitzBasic

SUMMARY = "ZNC, an advanced IRC bouncer"
SECTION = "net"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
DEPENDS = "openssl zlib icu"
PV = "1.6.0"
SRC_URI = "git://github.com/znc/znc.git;name=znc \
git://github.com/jimloco/Csocket.git;destsuffix=git/third_party/Csocket;name=Csocket \
"
SRCREV_znc = "f47e8465efa4e1cd948b9caae93ac401b4355df8"
SRCREV_Csocket = "07b4437396122650e5b8fb3d014e820a5decf4ee"
# This constructs a composite revision based on multiple SRCREV's.
#
SRCREV_FORMAT = "znc_Csocket"
S = "${WORKDIR}/git"
inherit autotools-brokensep pkgconfig
# ZNC has a custom autogen.sh that states that this command is needed *and* expected to fail
do_configure_prepend() {
automake --add-missing || true
}
do_install_append() {
sed -i 's/-fdebug-prefix-map[^ ]*//g; s#${STAGING_DIR_TARGET}##g' ${D}${libdir}/pkgconfig/*.pc
}