anchor.diff:  
       HOST="${TARGET_SYS}" ./rebar root_dir=${STAGING_DIR_HOST}/usr/lib/erlang generate
   
  -    install -d ${D}${sysconfdir}/systemd/system \
  -               ${D}${sysconfdir}/systemd/system/multi-user.target.wants
  -
  -    install -m 0755 ${THISDIR}/files/bigcouch.service ${D}${sysconfdir}/systemd/system
  -    ln -s ${D}${sysconfdir}/systemd/system/bigcouch.service ${D}${sysconfdir}/systemd/system/multi-user.target.wants/bigcouch.service
  -
       install -d ${D}/${BIGCOUCH_PREFIX}
       cp -a rel/bigcouch/* ${D}/${BIGCOUCH_PREFIX}
       install -d ${D}/${BIGCOUCH_DATA}
  
positive.code:                     ${BIGCOUCH_PREFIX}/erts-*/bin/.debug \
                      ${BIGCOUCH_PREFIX}/lib/*/priv/lib/.debug \
                      ${BIGCOUCH_PREFIX}/lib/couch-*/priv/.debug"
  
  do_rebar_fetch() {
      sed -i -e"s|https://|git://|g" rebar.config
  
negative.code: DEPENDS += "erlang-native erlang nspr spidermonkey curl icu"
  RDEPENDS_${PN} += "tzdata"
  
  inherit useradd python-dir rebar systemd
  
  USERADD_PACKAGES = "${PN}"
  GROUPADD_PARAM_${PN} = "--system ${BIGCOUCH_GROUP}"
  