diff options
| author | Turadg Aleahmad | 2012-02-25 21:54:46 -0500 | 
|---|---|---|
| committer | Adam Vandenberg | 2012-10-31 14:28:07 -0700 | 
| commit | c0a9e479325de1ff4cd872331d3ccb431a7506bb (patch) | |
| tree | 7e49a9b4dda6c3478fbba13bd9efe0e3ae99996e | |
| parent | f0b8ed2b1f3c593fd48c50b7b50b9c2ede336327 (diff) | |
| download | homebrew-c0a9e479325de1ff4cd872331d3ccb431a7506bb.tar.bz2 | |
oscats 0.6
(Open Source Computerized Adaptive Testing System)
Closes #10492.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/oscats.rb | 20 | 
1 files changed, 20 insertions, 0 deletions
| diff --git a/Library/Formula/oscats.rb b/Library/Formula/oscats.rb new file mode 100644 index 000000000..8c9cca08b --- /dev/null +++ b/Library/Formula/oscats.rb @@ -0,0 +1,20 @@ +require 'formula' + +class Oscats < Formula +  homepage 'http://code.google.com/p/oscats/' +  url 'http://oscats.googlecode.com/files/oscats-0.6.tar.gz' +  sha1 'f57fa06ee0d842ed4c547dd7ab599fd5090d7550' + +  option 'python', 'Build Python bindings' + +  depends_on 'gsl' +  depends_on 'glib' +  depends_on 'pygobject' if build.include? 'python' + +  def install +    args = ["--disable-dependency-tracking", "--prefix=#{prefix}"] +    args << "--enable-python-bindings" if build.include? 'python' +    system "./configure", *args +    system "make install" +  end +end | 
