homebrew-core/Formula/libao.rb
Stein Magnus Jodal e83926152e Fix libao build on OS X 10.4 and 10.5
Add patch from https://trac.xiph.org/ticket/1667 to make libao build on
OS X 10.4 and 10.5. Patch will be included in libao 1.0.1 when it is
released.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-06-08 11:26:40 -07:00

20 lines
552 B
Ruby

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/'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}", "--disable-x"
system "make install"
end
def patches
[
# Fix build on OS X 10.4 and 10.5 (included in upcoming 1.0.1)
"https://trac.xiph.org/raw-attachment/ticket/1667/libao.patch"
]
end
end