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: DEPENDS += "erlang-native erlang nspr spidermonkey curl icu"
  RDEPENDS_${PN} += "tzdata"
  
  inherit useradd python-dir rebar
  
  USERADD_PACKAGES = "${PN}"
  GROUPADD_PARAM_${PN} = "--system ${BIGCOUCH_GROUP}"
  
negative.code: LIC_FILES_CHKSUM = "file://LICENSE;md5=ff253ad767462c46be284da12dda33e8"
  
  SRCREV = "42a471caa33c1fa753cf9e9221d678fc0d0f714f"
  PR = "r6"
  
  SRC_URI = "git://github.com/cloudant/bigcouch.git;protocol=git;branch=0.4.x \
  	   file://fix_scons_cross_compilation_brain_fuck.patch;apply=yes \
  