2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-12 02:30:44 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Speex < Formula
|
2010-06-05 17:55:19 +00:00
|
|
|
url 'http://downloads.us.xiph.org/releases/speex/speex-1.2rc1.tar.gz'
|
2009-10-12 02:30:44 +00:00
|
|
|
homepage 'http://speex.org'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '52daa72572e844e5165315e208da539b2a55c5eb'
|
2010-06-05 17:55:19 +00:00
|
|
|
|
2010-10-21 05:01:22 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-06-05 17:55:19 +00:00
|
|
|
depends_on 'libogg' => :optional
|
2009-10-12 02:30:44 +00:00
|
|
|
|
|
|
|
def install
|
2010-06-05 17:55:19 +00:00
|
|
|
ENV.j1
|
2009-10-12 02:30:44 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|