2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-12 02:30:44 +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'
|
2010-06-05 17:55:19 +00:00
|
|
|
md5 'c4438b22c08e5811ff10e2b06ee9b9ae'
|
|
|
|
|
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
|