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

class FdkAac < Formula
  homepage 'http://sourceforge.net/projects/opencore-amr/'
  url 'http://downloads.sourceforge.net/opencore-amr/fdk-aac-0.1.0.tar.gz'
  sha1 '4798377069f5f10e8b04e00a3d5a2d15bedfcb47'

  head 'git://opencore-amr.git.sourceforge.net/gitroot/opencore-amr/fdk-aac'

  depends_on :automake => :build
  depends_on :libtool => :build

  def install
    system "autoreconf -fvi"
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--disable-shared"
    system "make install"
  end
end