diff options
| author | nibbles 2bits | 2012-05-12 19:52:30 -0700 |
|---|---|---|
| committer | Jack Nagel | 2012-05-13 13:34:57 -0500 |
| commit | 55107b6af6f228b27e78c8e7b9fe78929da95432 (patch) | |
| tree | 42a105edb1ef1de81fd9d562e675032165efa787 | |
| parent | d1c20f55839723f9cd16e5c1c77472938259950a (diff) | |
| download | homebrew-55107b6af6f228b27e78c8e7b9fe78929da95432.tar.bz2 | |
mathomatic 15.8.4
* Upgrade mathomatic to version 15.8.4
* Switch from `make install` to `make m4install`
* Add a `make` in the primes subdirectory
By switching to `make m4install` we get everything in the previous
formula plus the m4 macros "which allow easy entry of math
functions like sqrt(x) and sin(x) as macros."
By adding `make` in the primes subdirectory we get the Mathomatic
prime number tools, `matho-primes`.
Changelog is here: http://www.mathomatic.org/NEWS
Mathomatic runs, and testing it by doing simple math is successful
when it's built with clang or llvm from XCode-4.3.2 on Lion.
Closes #12219.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rw-r--r-- | Library/Formula/mathomatic.rb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Library/Formula/mathomatic.rb b/Library/Formula/mathomatic.rb index a8e2d12ce..c7f6a35a3 100644 --- a/Library/Formula/mathomatic.rb +++ b/Library/Formula/mathomatic.rb @@ -1,13 +1,17 @@ require 'formula' class Mathomatic < Formula - url 'http://mathomatic.org/mathomatic-15.7.1.tar.bz2' - homepage 'http://www.mathomatic.org/' - md5 'f8144e9c17edf688cbb296d20efaf808' + homepage 'http://www.mathomatic.org/math/' + url 'http://mathomatic.org/mathomatic-15.8.4.tar.bz2' + sha1 '2e5572685577050f0f0587c60c974bf4c34e0d60' def install ENV['prefix'] = prefix system "make READLINE=1" - system "make install" + system "make m4install" + cd 'primes' do + system 'make' + system 'make install' + end end end |
