aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/wxmaxima.rb
diff options
context:
space:
mode:
authornibbles 2bits2012-10-25 12:20:32 -0700
committerAdam Vandenberg2012-10-27 07:31:38 -0700
commitf3f8ea2bddfac6540500f2c109c8d710a2ffba43 (patch)
tree820a518403f9a60b9438104a716a061097cbeb74 /Library/Formula/wxmaxima.rb
parent598d96373528fea12794214219498bbdcf5ed298 (diff)
downloadhomebrew-f3f8ea2bddfac6540500f2c109c8d710a2ffba43.tar.bz2
wxmaxima 12.09.0
- It builds a command line and gui interface to maxima. - The app gets installed to prefix. - Works well with superenv and wxmac. Fixes #15655 Closes #15669. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/wxmaxima.rb')
-rw-r--r--Library/Formula/wxmaxima.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/wxmaxima.rb b/Library/Formula/wxmaxima.rb
new file mode 100644
index 000000000..d41d00ac8
--- /dev/null
+++ b/Library/Formula/wxmaxima.rb
@@ -0,0 +1,21 @@
+require 'formula'
+
+class Wxmaxima < Formula
+ homepage 'http://andrejv.github.com/wxmaxima'
+ url 'https://sourceforge.net/projects/wxmaxima/files/wxMaxima/12.09.0/wxMaxima-12.09.0.tar.gz'
+ sha1 '9b56f674392eabb75183b228757df8834b45b2a6'
+
+ depends_on 'wxmac'
+
+ def install
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system 'make'
+ cd 'locales' do
+ system 'make', 'allmo'
+ end
+ system 'make', 'wxMaxima.app'
+ prefix.install 'wxMaxima.app'
+ system "make install"
+ end
+end