From 598de9890d5719c097b68f02a3b50d88e66eb4bd Mon Sep 17 00:00:00 2001 From: Yishen Miao Date: Wed, 4 Dec 2013 13:16:19 -0800 Subject: yacas 1.3.3 Closes #24939. Signed-off-by: Adam Vandenberg --- Library/Formula/yacas.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Library/Formula/yacas.rb (limited to 'Library') diff --git a/Library/Formula/yacas.rb b/Library/Formula/yacas.rb new file mode 100644 index 000000000..aabc09b45 --- /dev/null +++ b/Library/Formula/yacas.rb @@ -0,0 +1,17 @@ +require 'formula' + +class Yacas < Formula + homepage 'http://yacas.sourceforge.net' + url 'http://yacas.sourceforge.net/backups/yacas-1.3.3.tar.gz' + sha1 '749952102f5321d62788be8ae459c1a67078b33d' + + option "with-server", "Build the network server version" + + def install + args = [ "--prefix=#{prefix}" ] + args << "--enable-server" if build.with? "server" + + system "./configure", *args + system "make install" + end +end -- cgit v1.2.3