anchor.diff:  	file://volatiles \
   	file://init"
   
  -S = "${WORKDIR}/asterisk-${PV}"
   
   INITSCRIPT_NAME = "asterisk"
   INITSCRIPT_PARAMS = "defaults 60"
   
   inherit autotools update-rc.d
   
  -export EXTRA_OECONF =  "--with-ssl=${STAGING_DIR}/${HOST_SYS}\
  +EXTRA_OECONF =  "--with-ssl=${STAGING_DIR}/${HOST_SYS}\
   			--with-z=${STAGING_DIR}/${HOST_SYS}\
   			--with-curl=${STAGING_DIR}/${HOST_SYS}\
   			--with-termcap=${STAGING_DIR}/${HOST_SYS}\
  
positive.code: 	oe_runconf
  }
  
  FILES_${PN} += "${libdir}/asterisk/modules/*"
  
  do_install_append() {
  	install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/asterisk
  	install -c -D -m 644 ${WORKDIR}/logrotate ${D}${sysconfdir}/logrotate.d/asterisk
  
negative.code: 	chown -R asterisk:asterisk ${libdir}/asterisk ${localstatedir}/lib/asterisk ${localstatedir}/spool/asterisk ${localstatedir}/log/asterisk ${localstatedir}/run/asterisk ${sysconfdir}/asterisk
  }
  
  FILES_${PN} += "${libdir}/asterisk/modules/*"
  
  CONFFILES_${PN} += "${sysconfdir}/asterisk/adsi.conf"
  CONFFILES_${PN} += "${sysconfdir}/asterisk/adtranvofr.conf"
  