anchor.diff:  	file://volatiles \
   	file://init"
   
  +ARCH_efika="ppc"
  +ARCH_dht-walnut="ppc"
  +ARCH_magicbox="ppc"
  +ARCH_sequoia="ppc"
  +
  +
  +
   
   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}\
  +EXTRA_OECONF =  "--with-ssl=${STAGING_DIR}/${TARGET_SYS}\
  +			--with-z=${STAGING_DIR}/${TARGET_SYS}\
  +			--with-curl=${STAGING_DIR}/${TARGET_SYS}\
  +			--with-termcap=${STAGING_DIR}/${TARGET_SYS}\
  +			--with-ogg=${STAGING_DIR}/${TARGET_SYS}\
  +			--with-vorbis=${STAGING_DIR}/${TARGET_SYS}\
  +			--with-sqlite=${STAGING_DIR}/${TARGET_SYS}\
  +			--with-popt=${STAGING_DIR}/${TARGET_SYS}\
  +			--with-gnutls=${STAGING_DIR}/${TARGET_SYS}\
   			--without-curses\
  -			--with-ncurses=${STAGING_DIR}/${HOST_SYS}\
  +			--with-ncurses=${STAGING_DIR}/${TARGET_SYS}\
   			--without-imap\
   			--without-netsnmp\
   			--without-odbc\
  
positive.code: 
  export ASTCFLAGS = "-fsigned-char -I${STAGING_INCDIR} -DPATH_MAX=4096"
  export ASTLDFLAGS="${LDFLAGS} -lpthread -ldl -lresolv "
  
  do_configure_prepend () {
  	sed -i 's:/var:${localstatedir}:' ${WORKDIR}/logrotate
  
negative.code: SECTION = "voip"
  LICENSE = "GPLv2"
  PRIORITY = "optional"
  SECTION = "console/telephony"
  DEPENDS = "speex readline zlib openssl curl popt gnutls sqlite libogg libvorbis"
  RRECOMMENDS_${PN} = "logrotate"
  PR = "r1"
  
  DEFAULT_PREFERENCE = "-1"
  
  