oscats 0.6
(Open Source Computerized Adaptive Testing System) Closes Homebrew/homebrew#10492. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
6ee457bb1f
commit
f881c6cb4a
1 changed files with 20 additions and 0 deletions
20
Formula/oscats.rb
Normal file
20
Formula/oscats.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue