homebrew-core/Formula/oscats.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

19 lines
629 B
Ruby

class Oscats < Formula
desc "Computerized adaptive testing system"
homepage "https://code.google.com/p/oscats/"
url "https://oscats.googlecode.com/files/oscats-0.6.tar.gz"
sha256 "2f7c88cdab6a2106085f7a3e5b1073c74f7d633728c76bd73efba5dc5657a604"
depends_on "pkg-config" => :build
depends_on :python => :optional
depends_on "gsl"
depends_on "glib"
depends_on "pygobject" if build.with? "python"
def install
args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
args << "--enable-python-bindings" if build.with? "python"
system "./configure", *args
system "make", "install"
end
end