2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-06-18 10:00:03 +00:00
|
|
|
|
|
|
|
class Libao <Formula
|
2010-04-07 05:58:35 +00:00
|
|
|
url 'http://downloads.xiph.org/releases/ao/libao-1.0.0.tar.gz'
|
|
|
|
md5 '08283fbe1f587619053a156254afecec'
|
|
|
|
homepage 'http://www.xiph.org/ao/'
|
2009-06-18 10:00:03 +00:00
|
|
|
|
|
|
|
def install
|
2009-10-19 12:25:37 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}", "--disable-x"
|
2009-06-18 10:00:03 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
2010-06-08 18:21:13 +00:00
|
|
|
|
|
|
|
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
|
2009-10-19 12:25:37 +00:00
|
|
|
end
|