From c1fdcafc800ae6a5343fbaf6bf5bf1fe6705124b Mon Sep 17 00:00:00 2001 From: Simon Walker Date: Sat, 11 May 2013 14:51:45 +0100 Subject: unittest-cpp 1.4 Closes #19732. Signed-off-by: Adam Vandenberg --- Library/Formula/unittest-cpp.rb | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Library/Formula/unittest-cpp.rb (limited to 'Library/Formula') diff --git a/Library/Formula/unittest-cpp.rb b/Library/Formula/unittest-cpp.rb new file mode 100644 index 000000000..7e6cc1d84 --- /dev/null +++ b/Library/Formula/unittest-cpp.rb @@ -0,0 +1,21 @@ +require 'formula' + +class UnittestCpp < Formula + homepage 'http://unittest-cpp.sourceforge.net/' + url 'http://downloads.sourceforge.net/project/unittest-cpp/UnitTest++/1.4/unittest-cpp-1.4.zip' + sha1 'dad944159e2e135aea74039987490eaaee00f2ad' + + def install + system "make" + + # Install the headers + include.install Dir['src/*.h'] + include.install 'src/Posix' + + # Install the compiled library + lib.install 'libUnitTest++.a' + + # Install the documentation + doc.install 'docs/UnitTest++.html' + end +end -- cgit v1.2.3