blob: ddc7d4ff9b9e7219762ec97dd3ad13b739580b8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  | 
require 'formula'
class Cpputest < Formula
  homepage 'http://www.cpputest.org/'
  url 'http://sourceforge.net/projects/cpputest/files/cpputest/v3.1/CppUTest-v3.1.zip'
  sha1 '8ff6b764a9ca6202582ae0c94545f56b921f39d5'
  fails_with :clang do
    build 421
    cause 'Uses -lgcov which only comes with llvm or gcc'
  end
  def install
    system "make"
    lib.install 'lib/libCppUTest.a'
    include.install 'include/CppUTest'
  end
end
  |