anchor.diff:      install -d ${D}${sysconfdir}/default/volatiles
       echo "d www www-data 0755 ${localstatedir}/run/nginx none" \
           > ${D}${sysconfdir}/default/volatiles/99_nginx
  +
  +    rm -fr "${D}${localstatedir}/run"
   }
   
  -FILES_${PN} += "${localstatedir}/ /run/"
  +FILES_${PN} += "${localstatedir}"
   
   USERADD_PACKAGES = "${PN}"
   USERADD_PARAM_${PN} = " \
  
positive.code: INITSCRIPT_NAME = "nginx"
  INITSCRIPT_PARAMS = "defaults 92 20"
  
  do_configure () {
  	PTRSIZE=$(expr ${SITEINFO_BITS} / 8)
  
  	echo $CFLAGS
  	echo $LDFLAGS
  
  	./configure \
  	--crossbuild=Linux:${TUNE_ARCH} \
  	--with-endian=${@base_conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \
  	--with-int=4 \
  	--with-long=${PTRSIZE} \
  	--with-long-long=8 \
  	--with-ptr-size=${PTRSIZE} \
  	--with-sig-atomic-t=${PTRSIZE} \
  	--with-size-t=${PTRSIZE} \
  	--with-off-t=${PTRSIZE} \
  	--with-time-t=${PTRSIZE} \
  	--with-sys-nerr=132 \
  	--conf-path=/etc/nginx/nginx.conf \
  	--http-log-path=/var/log/nginx/access.log \
  	--error-log-path=/var/log/nginx/error.log \
  	--pid-path=/var/run/nginx/nginx.pid \
  	--prefix=/usr \
  	--with-http_ssl_module \
  	--with-http_gzip_static_module
  }
  
  do_install_append () {
      install -d ${D}${localstatedir}/www/localhost
      mv ${D}/usr/html ${D}${localstatedir}/www/localhost/
      chown www:www-data -R ${D}${localstatedir}
  
negative.code: 
  DEPENDS = "libpcre gzip openssl"
  
  PR = "r0"
  
  SRC_URI = " \
  	http://nginx.org/download/nginx-${PV}.tar.gz \
  