diff options
Diffstat (limited to 'meta-networking/recipes-irc/znc/znc_1.7.3.bb')
-rw-r--r-- | meta-networking/recipes-irc/znc/znc_1.7.3.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-networking/recipes-irc/znc/znc_1.7.3.bb b/meta-networking/recipes-irc/znc/znc_1.7.3.bb new file mode 100644 index 0000000000..b7d46af6f6 --- /dev/null +++ b/meta-networking/recipes-irc/znc/znc_1.7.3.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | SUMMARY = "ZNC, an advanced IRC bouncer" | ||
2 | SECTION = "net" | ||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
5 | |||
6 | DEPENDS = "openssl zlib icu" | ||
7 | |||
8 | SRC_URI = "git://github.com/znc/znc.git;name=znc \ | ||
9 | git://github.com/jimloco/Csocket.git;destsuffix=git/third_party/Csocket;name=Csocket \ | ||
10 | " | ||
11 | SRCREV_znc = "be1b6bcd4cafbc57ebc298d89a5402ae7df55a8a" | ||
12 | SRCREV_Csocket = "e8d9e0bb248c521c2c7fa01e1c6a116d929c41b4" | ||
13 | |||
14 | # This constructs a composite revision based on multiple SRCREV's. | ||
15 | # | ||
16 | SRCREV_FORMAT = "znc_Csocket" | ||
17 | |||
18 | S = "${WORKDIR}/git" | ||
19 | |||
20 | inherit autotools-brokensep pkgconfig | ||
21 | |||
22 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" | ||
23 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
24 | |||
25 | # ZNC has a custom autogen.sh that states that this command is needed *and* expected to fail | ||
26 | do_configure_prepend() { | ||
27 | automake --add-missing || true | ||
28 | } | ||
29 | |||
30 | do_install_append() { | ||
31 | sed -i -e 's|${DEBUG_PREFIX_MAP}||g; s|--sysroot=${STAGING_DIR_TARGET}||g' ${D}${libdir}/pkgconfig/*.pc | ||
32 | } | ||