From 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd Mon Sep 17 00:00:00 2001 From: ToshikazuOhiwa Date: Mon, 30 Mar 2020 09:24:26 +0900 Subject: agl-basesystem --- .../meta-networking/recipes-irc/znc/znc_git.bb | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 external/meta-openembedded/meta-networking/recipes-irc/znc/znc_git.bb (limited to 'external/meta-openembedded/meta-networking/recipes-irc/znc') diff --git a/external/meta-openembedded/meta-networking/recipes-irc/znc/znc_git.bb b/external/meta-openembedded/meta-networking/recipes-irc/znc/znc_git.bb new file mode 100644 index 00000000..8c6979c2 --- /dev/null +++ b/external/meta-openembedded/meta-networking/recipes-irc/znc/znc_git.bb @@ -0,0 +1,34 @@ +SUMMARY = "ZNC, an advanced IRC bouncer" +SECTION = "net" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +DEPENDS = "openssl zlib icu" + +PV = "1.7.1" + +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 = "c426898b3a1b899dfe8a8b2a3eeb4b18d8be1bf2" +SRCREV_Csocket = "e8d9e0bb248c521c2c7fa01e1c6a116d929c41b4" + +# This constructs a composite revision based on multiple SRCREV's. +# +SRCREV_FORMAT = "znc_Csocket" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep pkgconfig + +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" +PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," + +# 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 +} -- cgit 1.2.3-korg