2010-03-28 12:56:32 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Mathomatic < Formula
|
2012-05-13 02:52:30 +00:00
|
|
|
homepage 'http://www.mathomatic.org/math/'
|
2012-09-08 00:16:51 +00:00
|
|
|
url 'http://mathomatic.org/mathomatic-16.0.2.tar.bz2'
|
|
|
|
sha1 'd480c0a9893186151bf22cef166e20a94fcf1335'
|
2010-03-28 12:56:32 +00:00
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
ENV['prefix'] = prefix
|
2010-05-16 19:22:39 +00:00
|
|
|
system "make READLINE=1"
|
2012-05-13 02:52:30 +00:00
|
|
|
system "make m4install"
|
|
|
|
cd 'primes' do
|
|
|
|
system 'make'
|
|
|
|
system 'make install'
|
|
|
|
end
|
2010-03-28 12:56:32 +00:00
|
|
|
end
|
|
|
|
end
|