aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ecasound.rb
blob: c0d590d7438d2adad463d6b63f65c78ee6ee38dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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