homebrew-core/Formula/yacas.rb
Yishen Miao 618df09967 yacas 1.3.4
Closes Homebrew/homebrew#26562.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-14 08:34:23 -08:00

22 lines
550 B
Ruby

require 'formula'
class Yacas < Formula
homepage 'http://yacas.sourceforge.net'
url 'http://yacas.sourceforge.net/backups/yacas-1.3.4.tar.gz'
sha1 'b0918e7f1e697fde48f09055528dacbf7513b931'
option "with-server", "Build the network server version"
def install
args = [ "--disable-silent-rules",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
]
args << "--enable-server" if build.with? "server"
system "./configure", *args
system "make", "install"
system "make", "test"
end
end