anchor.diff:  	file://GPL.txt;md5=133409beb2c017d3b0f406f22c5439e7 \
   	file://LGPL.txt;md5=4fbd65380cdd255951079008b364516c"
   
  -PR = "r0"
  +PR = "r1"
   inherit debian-package
   
   #disable-build-doc_debian.patch:
  
positive.code: 	install -d ${D}${sysconfdir}/logcheck/ignore.d.server
  	install -d ${D}${sysconfdir}/logcheck/violations.ignore.d
  	install -d ${D}${sysconfdir}/logrotate.d
  	install -d ${D}${sysconfdir}/syslog-ng/conf.d
  	install -d ${D}${libdir}/syslog-ng/$VERSION
  	install -d ${D}${libdir}/syslog-ng/syslog-ng
  	install -d ${D}${datadir}/syslog-ng
  
  	mv ${D}${libdir}/syslog-ng/libtest \
  		${D}${libdir}/syslog-ng/syslog-ng/
  	
  	mv ${D}${datadir}/include ${D}${datadir}/syslog-ng/
  	mv ${D}${datadir}/tools ${D}${datadir}/syslog-ng/
  
  	install -m 0644 ${S}/debian/syslog-ng-core.syslog-ng.default \
  			${D}${sysconfdir}/default/syslog-ng
  
negative.code: # Empty DEBIAN_QUILT_PATCHES to avoid error "debian/patches not found"
  DEBIAN_QUILT_PATCHES = ""
  
  # Configure base on debian/rules
  EXTRA_OECONF += " \
  	--sysconfdir=${sysconfdir}/${DPN} \
  	--localstatedir=${localstatedir}/lib/${DPN} \
  	--datadir=${datadir}/${DPN} \
  	--libdir=${libdir}/${DPN} \
  	--enable-dynamic-linking 	\
  	--with-libmongo-client=system 	\
  	--with-librabbitmq-client=no 	\
  