aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authoryoupy2011-10-31 16:59:36 +0900
committerAdam Vandenberg2011-11-21 21:12:06 -0800
commita39a82f529606f2fcd0413ff67a75420059137c1 (patch)
treeafeb490ad3ea73431aebc7b0d3b3a798d94ea1ed /Library/Formula
parentfb9735c35dc902e6fc184f94feac872519b7bb53 (diff)
downloadhomebrew-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.rb9
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