homebrew-core/Formula/ecasound.rb

22 lines
580 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Ecasound < Formula
desc "Multitrack-capable audio recorder and effect processor"
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'
2012-08-28 04:31:40 +00:00
option "with-ruby", "Compile with ruby support"
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'))
system "./configure", *args
system "make install"
end
end