2011-07-23 13:50:13 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Cpputest < Formula
|
|
|
|
homepage 'http://www.cpputest.org/'
|
2012-09-05 15:50:40 +00:00
|
|
|
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
|
2011-07-23 13:50:13 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "make"
|
2012-02-13 06:03:43 +00:00
|
|
|
lib.install 'lib/libCppUTest.a'
|
|
|
|
include.install 'include/CppUTest'
|
2011-07-23 13:50:13 +00:00
|
|
|
end
|
|
|
|
end
|