require 'formula' class Speex < Formula homepage 'http://speex.org' url 'http://downloads.us.xiph.org/releases/speex/speex-1.2rc1.tar.gz' sha1 '52daa72572e844e5165315e208da539b2a55c5eb' depends_on 'pkg-config' => :build depends_on 'libogg' => :optional def install ENV.j1 system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end end