homebrew-core/Formula/libao.rb
Adam Vandenberg 7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00

20 lines
549 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