summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-irc/znc/znc_1.10.1.bb22
-rw-r--r--meta-networking/recipes-irc/znc/znc_1.8.2.bb26
2 files changed, 22 insertions, 26 deletions
diff --git a/meta-networking/recipes-irc/znc/znc_1.10.1.bb b/meta-networking/recipes-irc/znc/znc_1.10.1.bb
new file mode 100644
index 0000000000..4477068bba
--- /dev/null
+++ b/meta-networking/recipes-irc/znc/znc_1.10.1.bb
@@ -0,0 +1,22 @@
1SUMMARY = "ZNC, an advanced IRC bouncer"
2SECTION = "net"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
5
6DEPENDS = "zlib"
7SRC_URI = "gitsm://github.com/znc/znc.git;branch=master;protocol=https;tag=${BP}"
8
9SRCREV = "29694fd26f5e9ec46731ee13bf66224181984966"
10
11inherit cmake pkgconfig
12
13PACKAGECONFIG ??= "openssl zlib icu ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
14PACKAGECONFIG[ipv6] = "-DWANT_IPV6=YES, -DWANT_IPV6=NO"
15PACKAGECONFIG[openssl] = "-DWANT_OPENSSL=YES, -DWANT_OPENSSL=NO, openssl"
16PACKAGECONFIG[zlib] = "-DWANT_ZLIB=YES, -DWANT_ZLIB=NO"
17PACKAGECONFIG[icu] = "-DWANT_ICU=YES, -DWANT_ICU=NO, icu"
18PACKAGECONFIG[i18n] = "-DWANT_I18N=YES, -DWANT_I18N=NO, boost gettext-native"
19
20do_install:append() {
21 sed -i -e 's|${DEBUG_PREFIX_MAP}||g; s|--sysroot=${STAGING_DIR_TARGET}||g; s|${STAGING_BINDIR_NATIVE}||g' ${D}${libdir}/pkgconfig/*.pc
22}
diff --git a/meta-networking/recipes-irc/znc/znc_1.8.2.bb b/meta-networking/recipes-irc/znc/znc_1.8.2.bb
deleted file mode 100644
index 7356115d53..0000000000
--- a/meta-networking/recipes-irc/znc/znc_1.8.2.bb
+++ /dev/null
@@ -1,26 +0,0 @@
1SUMMARY = "ZNC, an advanced IRC bouncer"
2SECTION = "net"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
5
6DEPENDS = "openssl zlib icu"
7
8SRC_URI = "gitsm://github.com/znc/znc.git;branch=master;protocol=https"
9
10SRCREV = "bf253640d33d03331310778e001fb6f5aba2989e"
11
12
13inherit autotools-brokensep pkgconfig
14
15PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
16PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
17
18# ZNC has a custom autogen.sh that states that this command is needed *and* expected to fail
19do_configure:prepend() {
20 automake --add-missing || true
21}
22
23do_install:append() {
24 sed -i -e 's|${DEBUG_PREFIX_MAP}||g; s|--sysroot=${STAGING_DIR_TARGET}||g' ${D}${libdir}/pkgconfig/*.pc
25 sed -i -e 's|${DEBUG_PREFIX_MAP}||g; s|--sysroot=${STAGING_DIR_TARGET}||g' ${D}${bindir}/znc-buildmod
26}