anchor.diff:  CONFFILES_${PN}-daemon = "${sysconfdir}/clamd.conf \
                             ${sysconfdir}/default/clamav-daemon"
   CONFFILES_${PN}-freshclam = "${sysconfdir}/freshclam.conf"
  -# Make the database as conffiles so that newwer data file won't replace
  +# Mark the database as conffiles so that newer data file won't replace
   # updates generated by freshclam
   CONFFILES_${PN}-data = "${localstatedir}/lib/clamav/main.cvd \
                           ${localstatedir}/lib/clamav/daily.cvd"
  
positive.code: RDEPENDS_${PN}-daemon = "${PN}-data"
  RRECOMMENDS_${PN} = "${PN}-freshclam"
  RRECOMMENDS_${PN}-daemon = "${PN}-freshclam"
  PR = "r1"
  
  SRC_URI = "${SOURCEFORGE_MIRROR}/clamav/clamav-${PV}.tar.gz \
            file://cross-compile-fix.patch;patch=1 \
  
negative.code: do_install_append() {
          install -m 0755 -d ${D}${sysconfdir}/default ${D}${sysconfdir}/init.d \
                             ${D}${docdir}/clamav
          # Save the installed clamd.conf in the doc dir and then install our new one
          install -m 0755 ${D}${sysconfdir}/clamd.conf ${D}${docdir}/clamav/clamd.conf.example
          install -m 0755 ${WORKDIR}/clamd.conf ${D}${sysconfdir}/clamd.conf
          # Save the installed freshclam.conf in the doc dir and then install our new one
          install -m 0755 ${D}${sysconfdir}/freshclam.conf ${D}${docdir}/clamav/freshclam.conf.example
          # Install our config files and init scripts
          install -m 0755 ${WORKDIR}/freshclam.conf ${D}${sysconfdir}/freshclam.conf
          install -m 0755 ${WORKDIR}/clamav-daemon.default ${D}${sysconfdir}/default/clamav-daemon
          install -m 0755 ${WORKDIR}/clamav-daemon.init ${D}${sysconfdir}/init.d/clamav-daemon
          install -m 0755 ${WORKDIR}/clamav-freshclam.init ${D}${sysconfdir}/init.d/clamav-freshclam
  }
  do_stage () {
  	oe_libinstall -a -so libclamav ${STAGING_LIBDIR}
  	install -m 0644 libclamav/clamav.h ${STAGING_INCDIR}
  }
  
  PACKAGES += "${PN}-freshclam ${PN}-daemon ${PN}-data ${PN}-lib"
  