aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/check.rb
diff options
context:
space:
mode:
authorLei Xu2009-12-25 17:07:08 +0800
committerDavid Höppner2010-01-30 14:18:04 +0100
commita614efe206f9d91d1c582d1c00554fa254cdafb0 (patch)
treef54c4b2246991f973021141d4c6a0e67b49e7fff /Library/Formula/check.rb
parent090881d2914dcf8eb258c83c3742da3351ae8b8c (diff)
downloadhomebrew-a614efe206f9d91d1c582d1c00554fa254cdafb0.tar.bz2
New formula: check
Check is a unit testing framework for C. It features a simple interface for defining unit tests, putting little in the way of the developer.
Diffstat (limited to 'Library/Formula/check.rb')
-rw-r--r--Library/Formula/check.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/check.rb b/Library/Formula/check.rb
new file mode 100644
index 000000000..8ed858b14
--- /dev/null
+++ b/Library/Formula/check.rb
@@ -0,0 +1,12 @@
+require 'formula'
+
+class Check <Formula
+ url 'http://downloads.sourceforge.net/project/check/check/0.9.8/check-0.9.8.tar.gz'
+ homepage 'http://check.sourceforge.net/'
+ md5 '5d75e9a6027cde79d2c339ef261e7470'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "make install"
+ end
+end