aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBryan Ivory2011-06-14 21:57:05 -0700
committerAdam Vandenberg2011-09-01 17:30:37 -0700
commit9e3cbf4e9e75b9205b28c93edd14af4a7e84bdc3 (patch)
tree329ada69b8b2197a0e30659c05f69a2df3877baf /Library/Formula
parent2fd2fa6c892ca346f46c507727323ceffbcbad02 (diff)
downloadhomebrew-9e3cbf4e9e75b9205b28c93edd14af4a7e84bdc3.tar.bz2
CUnit 2.1-2
A new formula for the CUnit unit testing library for C. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cunit.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/cunit.rb b/Library/Formula/cunit.rb
new file mode 100644
index 000000000..61f7f1b10
--- /dev/null
+++ b/Library/Formula/cunit.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Cunit < Formula
+ url 'http://downloads.sourceforge.net/project/cunit/CUnit/2.1-2/CUnit-2.1-2-src.tar.bz2'
+ homepage 'http://cunit.sourceforge.net/'
+ version '2.1-2'
+ md5 '31c62bd7a65007737ba28b7aafc44d3a'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+end