aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/celt.rb
blob: f69969765d67a31ce95dd368309bddeda68c0c99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Celt <Formula
  url 'http://downloads.xiph.org/releases/celt/celt-0.7.1.tar.gz'
  homepage 'http://www.celt-codec.org/'
  md5 'c7f6b8346e132b1a48dae0eff77ea9f0'

  depends_on 'libogg' => :optional

  def install
    # 1 Test failed with llvm-gcc
    ENV.gcc_4_2

    system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--enable-new-plc"
    system "make check"
    system "make install"
  end
end