2010-01-09 20:05:59 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Celt <Formula
|
2010-06-05 18:04:37 +00:00
|
|
|
url 'http://downloads.xiph.org/releases/celt/celt-0.7.1.tar.gz'
|
2010-01-09 20:05:59 +00:00
|
|
|
homepage 'http://www.celt-codec.org/'
|
2010-06-05 18:04:37 +00:00
|
|
|
md5 'c7f6b8346e132b1a48dae0eff77ea9f0'
|
2010-01-09 20:05:59 +00:00
|
|
|
|
2010-06-05 18:04:37 +00:00
|
|
|
depends_on 'libogg' => :optional
|
2010-01-09 20:05:59 +00:00
|
|
|
|
|
|
|
def install
|
2010-06-16 18:50:36 +00:00
|
|
|
fails_with_llvm "1 test failed with llvm-gcc"
|
2010-10-21 03:18:10 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--enable-new-plc"
|
2010-01-09 20:05:59 +00:00
|
|
|
system "make check"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|