anchor.diff:  PACKAGECONFIG ??= " \
       client \
       monitor \
  -    manual-pages \
       ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
   "
   PACKAGECONFIG[client] = "--enable-client,--disable-client,readline"
   PACKAGECONFIG[monitor] = "--enable-monitor,--disable-monitor"
  -PACKAGECONFIG[manual-pages] = "--enable-manual-pages,--disable-manual-pages,python3-docutils-native"
  +PACKAGECONFIG[manpages] = "--enable-manual-pages,--disable-manual-pages,python3-docutils-native"
   PACKAGECONFIG[wired] = "--enable-wired,--disable-wired"
   PACKAGECONFIG[ofono] = "--enable-ofono,--disable-ofono"
   PACKAGECONFIG[systemd] = "--with-systemd-unitdir=${systemd_system_unitdir},--disable-systemd-service,systemd"
  
positive.code: }
  
  do_install_append() {
      mkdir --parents ${D}${docdir}/${BPN}
      install -m644 ${S}/doc/*.txt ${D}${docdir}/${BPN}
      # If client and monitor are disabled, bindir is empty, causing a QA error
      rmdir --ignore-fail-on-non-empty ${D}/${bindir}
  }
  
negative.code: LICENSE = "LGPL-2.1"
  LIC_FILES_CHKSUM = "file://COPYING;md5=fb504b67c50331fc78734fed90fb0e09"
  
  inherit autotools manpages pkgconfig systemd python3native
  
  DEPENDS = "ell"
  
  