blob: 8c6979c2e29785be439dc60f6e41eb4c1d5860ea [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001SUMMARY = "ZNC, an advanced IRC bouncer"
2SECTION = "net"
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
5
6DEPENDS = "openssl zlib icu"
7
8PV = "1.7.1"
9
10SRC_URI = "git://github.com/znc/znc.git;name=znc \
11 git://github.com/jimloco/Csocket.git;destsuffix=git/third_party/Csocket;name=Csocket \
12 "
13SRCREV_znc = "c426898b3a1b899dfe8a8b2a3eeb4b18d8be1bf2"
14SRCREV_Csocket = "e8d9e0bb248c521c2c7fa01e1c6a116d929c41b4"
15
16# This constructs a composite revision based on multiple SRCREV's.
17#
18SRCREV_FORMAT = "znc_Csocket"
19
20S = "${WORKDIR}/git"
21
22inherit autotools-brokensep pkgconfig
23
24PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
25PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
26
27# ZNC has a custom autogen.sh that states that this command is needed *and* expected to fail
28do_configure_prepend() {
29 automake --add-missing || true
30}
31
32do_install_append() {
33 sed -i 's/-fdebug-prefix-map[^ ]*//g; s#${STAGING_DIR_TARGET}##g' ${D}${libdir}/pkgconfig/*.pc
34}