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

class Libao <Formula
  url 'http://downloads.xiph.org/releases/ao/libao-1.0.0.tar.gz'
  md5 '08283fbe1f587619053a156254afecec'
  homepage 'http://www.xiph.org/ao/'

  # Fix build on OS X 10.4 and 10.5 (included in upcoming 1.0.1)
  def patches
    "https://trac.xiph.org/raw-attachment/ticket/1667/libao.patch"
  end

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