2011-01-28 19:43:36 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Ecasound < Formula
|
2011-06-17 12:35:00 +00:00
|
|
|
url 'http://ecasound.seul.org/download/ecasound-2.8.1.tar.gz'
|
2011-01-28 19:43:36 +00:00
|
|
|
homepage 'http://www.eca.cx/ecasound/'
|
2011-06-17 12:35:00 +00:00
|
|
|
md5 'd9ded0074a8eeb59dd507c248220d010'
|
2011-01-28 19:43:36 +00:00
|
|
|
|
2011-10-31 07:59:36 +00:00
|
|
|
def options
|
|
|
|
[["--with-ruby", "Compile with ruby support."]]
|
|
|
|
end
|
|
|
|
|
2011-01-28 19:43:36 +00:00
|
|
|
def install
|
2011-10-31 07:59:36 +00:00
|
|
|
args = ["--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"]
|
|
|
|
args << "--enable-rubyecasound=yes" if ARGV.include?('--with-ruby')
|
|
|
|
system "./configure", *args
|
2011-01-28 19:43:36 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|