homebrew-core/Formula/celt.rb

25 lines
581 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Celt < Formula
homepage 'http://www.celt-codec.org/'
2013-01-27 02:14:23 +00:00
url 'http://downloads.xiph.org/releases/celt/celt-0.11.1.tar.gz'
sha256 '01c2579fba8b283c9068cb704a70a6e654aa74ced064c091cafffbe6fb1d4cbf'
depends_on 'libogg' => :optional
fails_with :llvm do
build 2335
cause "'make check' fails"
end
2011-03-21 21:24:22 +00:00
option :universal
def install
ENV.universal_binary if build.universal?
2010-10-21 03:18:10 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make check"
system "make install"
end
end