diff options
| author | Simon Walker | 2013-05-11 14:51:45 +0100 | 
|---|---|---|
| committer | Adam Vandenberg | 2013-05-24 21:24:48 -0700 | 
| commit | c1fdcafc800ae6a5343fbaf6bf5bf1fe6705124b (patch) | |
| tree | 8bceb1fb9f32d8cdf69c7cac81ef9e8304ef7851 /Library/Formula | |
| parent | a9558e86bc6b0219331a93050ac3733a3f6a8927 (diff) | |
| download | homebrew-c1fdcafc800ae6a5343fbaf6bf5bf1fe6705124b.tar.bz2 | |
unittest-cpp 1.4
Closes #19732.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/unittest-cpp.rb | 21 | 
1 files changed, 21 insertions, 0 deletions
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  | 
