2011-03-04 03:30:48 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Aamath < Formula
|
2011-03-04 03:30:48 +00:00
|
|
|
homepage 'http://fuse.superglue.se/aamath/'
|
2013-01-26 21:55:15 +00:00
|
|
|
url 'http://fuse.superglue.se/aamath/aamath-0.3.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'dc68abaf2131c73ddb1a520c95d65596e30f1b0a'
|
2011-03-04 03:30:48 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
ENV.j1
|
|
|
|
system "make"
|
|
|
|
|
|
|
|
bin.install "aamath"
|
|
|
|
man1.install "aamath.1"
|
|
|
|
prefix.install "testcases"
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
2011-09-01 20:00:28 +00:00
|
|
|
system "cat #{prefix}/testcases | #{bin}/aamath"
|
2011-03-04 03:30:48 +00:00
|
|
|
end
|
|
|
|
end
|