diff options
| author | youpy | 2011-10-31 16:59:36 +0900 |
|---|---|---|
| committer | Adam Vandenberg | 2011-11-21 21:12:06 -0800 |
| commit | a39a82f529606f2fcd0413ff67a75420059137c1 (patch) | |
| tree | afeb490ad3ea73431aebc7b0d3b3a798d94ea1ed /Library/Formula | |
| parent | fb9735c35dc902e6fc184f94feac872519b7bb53 (diff) | |
| download | homebrew-a39a82f529606f2fcd0413ff67a75420059137c1.tar.bz2 | |
ecasound: add --with-ruby add option
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ecasound.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Library/Formula/ecasound.rb b/Library/Formula/ecasound.rb index 3717f538c..c0d590d74 100644 --- a/Library/Formula/ecasound.rb +++ b/Library/Formula/ecasound.rb @@ -5,9 +5,14 @@ class Ecasound < Formula homepage 'http://www.eca.cx/ecasound/' md5 'd9ded0074a8eeb59dd507c248220d010' + def options + [["--with-ruby", "Compile with ruby support."]] + end + def install - system "./configure", "--disable-debug", "--disable-dependency-tracking", - "--prefix=#{prefix}" + 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 |
