2011-03-10 05:11:03 +00:00
|
|
|
class Check < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "C unit testing framework"
|
2014-06-17 06:48:00 +00:00
|
|
|
homepage "http://check.sourceforge.net/"
|
2015-08-28 05:38:05 +00:00
|
|
|
url "https://downloads.sourceforge.net/project/check/check/0.10.0/check-0.10.0.tar.gz"
|
|
|
|
sha256 "f5f50766aa6f8fe5a2df752666ca01a950add45079aa06416b83765b1cf71052"
|
2009-12-25 09:07:08 +00:00
|
|
|
|
2014-08-08 10:05:04 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-09-23 16:30:10 +00:00
|
|
|
sha256 "2e37bca055ae0bf490b713d90c95a9d81518cae9b884a7e495f521c80b4f062f" => :el_capitan
|
2015-08-28 06:08:46 +00:00
|
|
|
sha256 "bb824d8cb8a74ebbc1eb9d22b8ea15327dfe3ce91151b37c7f41c80939609f52" => :yosemite
|
|
|
|
sha256 "022667ec28a8af0bf6e19f3afbaa144542f1754ebaff5710229484fa8071084e" => :mavericks
|
|
|
|
sha256 "b223c76b5519c5aa3300488b230c5b5b2cbd32d896f2fab0f1a0700a24e1f975" => :mountain_lion
|
2014-08-08 10:05:04 +00:00
|
|
|
end
|
|
|
|
|
2012-08-09 05:01:34 +00:00
|
|
|
option :universal
|
2011-03-04 22:25:23 +00:00
|
|
|
|
2009-12-25 09:07:08 +00:00
|
|
|
def install
|
2012-08-09 05:01:34 +00:00
|
|
|
ENV.universal_binary if build.universal?
|
2011-01-31 19:36:10 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2015-08-03 12:55:31 +00:00
|
|
|
system "make", "install"
|
2009-12-25 09:07:08 +00:00
|
|
|
end
|
|
|
|
end
|