From 9e3cbf4e9e75b9205b28c93edd14af4a7e84bdc3 Mon Sep 17 00:00:00 2001 From: Bryan Ivory Date: Tue, 14 Jun 2011 21:57:05 -0700 Subject: CUnit 2.1-2 A new formula for the CUnit unit testing library for C. Signed-off-by: Adam Vandenberg --- Library/Formula/cunit.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Library/Formula/cunit.rb (limited to 'Library/Formula') 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 -- cgit v1.2.3