homebrew-core/Formula/check.rb
2015-06-05 14:47:57 +01:00

24 lines
712 B
Ruby

require "formula"
class Check < Formula
desc "C unit testing framework"
homepage "http://check.sourceforge.net/"
url "https://downloads.sourceforge.net/project/check/check/0.9.14/check-0.9.14.tar.gz"
sha1 "4b79e2d485d014ddb438e322b64235347d57b0ff"
bottle do
cellar :any
sha1 "5f7d4c82f1c2bdb365718e97299efd47ec9c7272" => :mavericks
sha1 "2390f4c06a316a18cd4a9164fcd510c1ffb9a276" => :mountain_lion
sha1 "99d8dfd79c4498071ac91dcc782b5b27f2182614" => :lion
end
option :universal
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end