anchor.diff:  	libtoolize --force
   	oe_runconf
   }
  +
  +
  +do_compile() {
  +        (
  +         #make sure that menuselect gets build using host toolchain
  +         unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS
  +         cd menuselect 
  +         ./configure
  +         oe_runmake
  +         cd ../
  +        ) || exit 1
  +        oe_runmake
  +}
  +
  +
  +
   
   do_install_append() {
           install -d ${D}${sysconfdir}/init.d/
  
positive.code: 	file://volatiles \
  	file://init"
  
  
  INITSCRIPT_NAME = "asterisk"
  INITSCRIPT_PARAMS = "defaults 60"
  
  inherit autotools update-rc.d
  
  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}\
  			--with-ogg=${STAGING_DIR}/${HOST_SYS}\
  			--with-vorbis=${STAGING_DIR}/${HOST_SYS}\
  			--with-sqlite=${STAGING_DIR}/${HOST_SYS}\
  			--with-popt=${STAGING_DIR}/${HOST_SYS}\
  			--with-gnutls=${STAGING_DIR}/${HOST_SYS}\
  			--without-curses\
  			--with-ncurses=${STAGING_DIR}/${HOST_SYS}\
  			--without-imap\
  			--without-netsnmp\
  			--without-odbc\
  
negative.code: CONFFILES_${PN} += "${sysconfdir}/asterisk/voicemail.conf"
  CONFFILES_${PN} += "${sysconfdir}/asterisk/vpb.conf"
  CONFFILES_${PN} += "${sysconfdir}/asterisk/zapata.conf"
  CONFFILES_${PN} += "${sysconfdir}/logrotate.d/asterisk"
  