diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/yacas.rb | 17 |
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 |
