2010-01-09 20:05:59 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Celt <Formula
|
2011-01-25 14:42:24 +00:00
|
|
|
url 'http://downloads.xiph.org/releases/celt/celt-0.8.1.tar.gz'
|
2010-01-09 20:05:59 +00:00
|
|
|
homepage 'http://www.celt-codec.org/'
|
2011-01-25 14:42:24 +00:00
|
|
|
sha256 'cbaa8d2ba4d4807f29a5ed40b9f2be233f988c6e3ac8dd1737b6e2ac20174542'
|
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
|