anchor.diff:  LIC_FILES_CHKSUM = "file://LICENSE;md5=ff253ad767462c46be284da12dda33e8"
   
   SRCREV = "42a471caa33c1fa753cf9e9221d678fc0d0f714f"
  -PR = "r5"
  +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 \
  
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: 
      HOST="${TARGET_SYS}" ./rebar root_dir=${STAGING_DIR_HOST}/usr/lib/erlang generate
  
      install -d ${D}/${BIGCOUCH_PREFIX}
      cp -a rel/bigcouch/* ${D}/${BIGCOUCH_PREFIX}
      install -d ${D}/${BIGCOUCH_DATA}
  