diff options
| author | Baptiste Fontaine | 2015-01-12 09:50:49 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-12 13:33:20 +0000 |
| commit | 387a4cf84c98b3bf2499e823be5b82c96869f4bf (patch) | |
| tree | eee22da93ad0ae15b2465901bc38dcaa5f4133fd /Library | |
| parent | 5dfb23567c0338cef7266eeb51784368433084b1 (diff) | |
| download | homebrew-387a4cf84c98b3bf2499e823be5b82c96869f4bf.tar.bz2 | |
cmatrix: modernize + basic test added
Closes #35770.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/cmatrix.rb | 14 |
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 |
