aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorCharlie Sharpsteen2010-06-20 21:16:17 -0700
committerAdam Vandenberg2010-06-20 21:51:45 -0700
commit690696ffebfb6f930139c482e6caa32abc5411be (patch)
tree291deb5e600ee7c06a55157ee540b5e3530a322d /Library/Formula
parentfe68a19c29b65e54e606b7cba558a0081c7010c3 (diff)
downloadhomebrew-690696ffebfb6f930139c482e6caa32abc5411be.tar.bz2
New formula for GiNaC
GiNaC is Not a CAS is a C++ library that supports symbolic computation and may be used as the foundation of a Computer Algebra System (CAS). Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ginac.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/ginac.rb b/Library/Formula/ginac.rb
new file mode 100644
index 000000000..12cd66b8c
--- /dev/null
+++ b/Library/Formula/ginac.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class Ginac <Formula
+ url 'http://www.ginac.de/ginac-1.5.7.tar.bz2'
+ homepage 'http://www.ginac.de/'
+ md5 '6714dc642dec79fed35b9ba7b7a83b0a'
+
+ depends_on 'cln'
+ depends_on 'readline'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
+ system "make install"
+ end
+end