homebrew-core/Formula/wxmaxima.rb
nibbles 2bits 8ef570ebb8 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 Homebrew/homebrew#15655

Closes Homebrew/homebrew#15669.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-27 07:31:38 -07:00

21 lines
561 B
Ruby

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