2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-06-18 10:00:03 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libao < Formula
|
2013-01-29 05:35:43 +00:00
|
|
|
homepage 'http://www.xiph.org/ao/'
|
2011-03-26 14:42:30 +00:00
|
|
|
url 'http://downloads.xiph.org/releases/ao/libao-1.1.0.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '9301bc4886f170c7122ab62677fb71cf001c04fd'
|
2009-06-18 10:00:03 +00:00
|
|
|
|
2011-03-26 19:50:49 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
|
2009-06-18 10:00:03 +00:00
|
|
|
def install
|
2011-03-26 19:50:49 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2011-12-02 02:36:16 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--enable-static"
|
2009-06-18 10:00:03 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
2009-10-19 12:25:37 +00:00
|
|
|
end
|