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: LICENSE = "GPLv2"
  PRIORITY = "optional"
  DEPENDS = "ncurses readline zlib openssl curl popt gnutls sqlite libogg libvorbis"
  CONFLICTS = "asterisk"
  RRECOMMENDS = "logrotate"
  PR = "r0"
  DEFAULT_PREFERENCE = "-1"
  
  SRC_URI="http://ftp.digium.com/pub/asterisk/releases/asterisk-${PV}.tar.gz\
  
negative.code: 	oe_runconf
  }
  
  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
  