aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorYishen Miao2013-12-04 13:16:19 -0800
committerAdam Vandenberg2013-12-05 07:48:20 -0800
commit598de9890d5719c097b68f02a3b50d88e66eb4bd (patch)
tree47b1982b13a3ee88633584a02755931eef34ee95 /Library
parentb38c1623a0d30287bb698076d7072ab041b9cefa (diff)
downloadhomebrew-598de9890d5719c097b68f02a3b50d88e66eb4bd.tar.bz2
yacas 1.3.3
Closes #24939. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/yacas.rb17
1 files changed, 17 insertions, 0 deletions
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