diff options
| author | Thomas Grenfell Smith | 2011-03-03 22:30:48 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-06 16:50:28 -0800 |
| commit | d75a4c49ca3c35c0034d1092ed49f7f40981f85d (patch) | |
| tree | 9a9038aac05490495f939836aad196d97e6ce365 /Library/Formula/aamath.rb | |
| parent | 83b3394b05602a85b3bba0b569933e3acb47108d (diff) | |
| download | homebrew-d75a4c49ca3c35c0034d1092ed49f7f40981f85d.tar.bz2 | |
aamath 0.3
Renders math in pretty ascii.
Diffstat (limited to 'Library/Formula/aamath.rb')
| -rw-r--r-- | Library/Formula/aamath.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/aamath.rb b/Library/Formula/aamath.rb new file mode 100644 index 000000000..58f74f62b --- /dev/null +++ b/Library/Formula/aamath.rb @@ -0,0 +1,20 @@ +require 'formula' + +class Aamath <Formula + url 'http://fuse.superglue.se/aamath/aamath-0.3.tar.gz' + homepage 'http://fuse.superglue.se/aamath/' + md5 'f0e835bd06069b1bdaddd9e9c3447c12' + + def install + ENV.j1 + system "make" + + bin.install "aamath" + man1.install "aamath.1" + prefix.install "testcases" + end + + def test + system "cat #{prefix}/testcases | aamath" + end +end |
