anchor.diff:  FILES_${PN}-dbg += "${libdir}/ecryptfs/.debug \
                       ${libdir}/security/.debug \
                      "
  +do_install_append() {
  +    if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then
  +        install -d ${D}${systemd_unitdir}/system/
  +        install -m 0644 ${WORKDIR}/ecryptfs.service ${D}${systemd_unitdir}/system
  +    fi
  +}
  
positive.code: SRC_URI[md5sum] = "efaa5eabbd368268874536036397f73b"
  SRC_URI[sha256sum] = "a31cb155483d44a59f1506ab53990ac36f81630e0cb3fd2f4dcba35fab614689"
  
  PR = "r2"
  
  inherit autotools systemd
  
  PACKAGES =+ "${PN}-systemd"
  
  SYSTEMD_PACKAGES = "${PN}-systemd"
  SYSTEMD_SERVICE = "ecryptfs.service"
  
  EXTRA_OECONF += "--disable-nss --disable-pywrap --enable-openssl --prefix=/ --datarootdir=/usr/share"
  
negative.code: FILES_${PN} += " \
                 ${libdir}/ecryptfs/* \
                 ${libdir}/security/pam_ecryptfs.so \
                 ${systemd_unitdir}/system/ecryptfs.service \
                 "
  
  FILES_${PN}-doc += " \
  