2011-01-28 19:43:36 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Ecasound < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Multitrack-capable audio recorder and effect processor"
|
2011-01-28 19:43:36 +00:00
|
|
|
homepage 'http://www.eca.cx/ecasound/'
|
2014-03-19 15:33:45 +00:00
|
|
|
url 'http://ecasound.seul.org/download/ecasound-2.9.1.tar.gz'
|
|
|
|
sha1 '048fc2487deb3c94d92814b54255435b2acee1d8'
|
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}
|
|
|
|
]
|
2013-11-30 16:55:43 +00:00
|
|
|
args << ("--enable-rubyecasound=" + ((build.with? 'ruby') ? 'yes' : 'no'))
|
2011-10-31 07:59:36 +00:00
|
|
|
system "./configure", *args
|
2011-01-28 19:43:36 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|