homebrew-core/Formula/ecasound.rb
youpy 0c458b6168 ecasound: add --with-ruby add option
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-11-21 21:12:06 -08:00

18 lines
504 B
Ruby

require 'formula'
class Ecasound < Formula
url 'http://ecasound.seul.org/download/ecasound-2.8.1.tar.gz'
homepage 'http://www.eca.cx/ecasound/'
md5 'd9ded0074a8eeb59dd507c248220d010'
def options
[["--with-ruby", "Compile with ruby support."]]
end
def install
args = ["--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"]
args << "--enable-rubyecasound=yes" if ARGV.include?('--with-ruby')
system "./configure", *args
system "make install"
end
end