spf_template gnu &&
spf_url home  'http://www.vorbis.com/' &&
spf_url watch 'http://downloads.xiph.org/releases/vorbis/' &&
spf_url src   "http://downloads.xiph.org/releases/vorbis/vorbis-tools-${spf_version?}.tar.gz" &&
spf_depend libogg &&
spf_depend libvorbis &&
spf_depend libao degree optional &&
####spf_depend curl  degree optional &&
spf_args configure --with-ogg="${spf_path_conf?}"/libogg/prefix &&
spf_args configure --with-vorbis="${spf_path_conf?}"/libvorbis/prefix &&
spf_args configure --without-curl && ####
spf_args configure --without-flac && ####
spf_args configure --without-speex && ####
spf_cc_ nls &&
spf_template_gnu_do_before_configure() {
####  if test -d "${spf_path_conf?}"/curl
####    then spf_args configure --with-curl="${spf_path_conf?}"/curl/prefix
####    else spf_args configure --without-curl
####  fi &&
  case ${spf_version?} in
    1.[12].*)
      if test -d "${spf_path_conf?}"/libao
        then spf_args configure --with-ao="${spf_path_conf?}"/libao/prefix
        else spf_args configure --without-ao
      fi;;
    *) :;;
  esac
} &&
spf_tested_version 1.4.0 &&
spf_tested_version 1.2.0 &&
spf_tested_version 1.1.1

