aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/cmatrix.rb14
1 files changed, 8 insertions, 6 deletions
diff --git a/Library/Formula/cmatrix.rb b/Library/Formula/cmatrix.rb
index 47718230c..7acade840 100644
--- a/Library/Formula/cmatrix.rb
+++ b/Library/Formula/cmatrix.rb
@@ -1,13 +1,15 @@
-require 'formula'
-
class Cmatrix < Formula
- homepage 'http://www.asty.org/cmatrix/'
- url 'http://www.asty.org/cmatrix/dist/cmatrix-1.2a.tar.gz'
- sha1 'ca078c10322a47e327f07a44c9a42b52eab5ad93'
+ homepage "http://www.asty.org/cmatrix/"
+ url "http://www.asty.org/cmatrix/dist/cmatrix-1.2a.tar.gz"
+ sha1 "ca078c10322a47e327f07a44c9a42b52eab5ad93"
def install
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
system "make"
- system "make install"
+ system "make", "install"
+ end
+
+ test do
+ system "#{bin}/cmatrix", "-V"
end
end