2011-01-28 19:43:36 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2012-08-28 04:31:40 +00:00
|
|
|
# 2.9.0 is out, but uses clock_gettime which is not available on OS X
|
2011-03-10 05:11:03 +00:00
|
|
|
class Ecasound < Formula
|
2011-01-28 19:43:36 +00:00
|
|
|
homepage 'http://www.eca.cx/ecasound/'
|
2012-08-28 04:31:40 +00:00
|
|
|
url 'http://ecasound.seul.org/download/ecasound-2.8.1.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '55c42a611ce59ea2b92461f49358a0cd54c40fe0'
|
2011-01-28 19:43:36 +00:00
|
|
|
|
2012-08-28 04:31:40 +00:00
|
|
|
option "with-ruby", "Compile with ruby support"
|
2011-10-31 07:59:36 +00:00
|
|
|
|
2011-01-28 19:43:36 +00:00
|
|
|
def install
|
2012-08-28 04:31:40 +00:00
|
|
|
args = %W[
|
|
|
|
--disable-debug
|
|
|
|
--disable-dependency-tracking
|
|
|
|
--prefix=#{prefix}
|
|
|
|
]
|
|
|
|
args << "--enable-rubyecasound=yes" if build.include? 'with-ruby'
|
2011-10-31 07:59:36 +00:00
|
|
|
system "./configure", *args
|
2011-01-28 19:43:36 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|