2014-11-01 00:53:53 +00:00
|
|
|
require "formula"
|
2009-10-22 15:09:34 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Cppunit < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Unit testing framework for C++"
|
2015-07-10 20:54:51 +00:00
|
|
|
homepage "https://wiki.freedesktop.org/www/Software/cppunit/"
|
2014-11-01 00:53:53 +00:00
|
|
|
url "http://dev-www.libreoffice.org/src/cppunit-1.13.2.tar.gz"
|
|
|
|
sha1 "0eaf8bb1dcf4d16b12bec30d0732370390d35e6f"
|
2009-10-22 15:09:34 +00:00
|
|
|
|
2014-03-24 12:51:03 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-12-02 09:40:14 +00:00
|
|
|
revision 1
|
|
|
|
sha1 "18dfd9a7ceb08906e112c192af525908bcc42663" => :yosemite
|
|
|
|
sha1 "e27e6f4f3faac5c2f280b088a48d7c83e7faf491" => :mavericks
|
|
|
|
sha1 "06f8e404202b942139a979911b94c725ed83795a" => :mountain_lion
|
2014-03-24 12:51:03 +00:00
|
|
|
end
|
|
|
|
|
2012-07-30 19:15:01 +00:00
|
|
|
option :universal
|
2011-08-16 02:33:04 +00:00
|
|
|
|
2009-10-22 15:09:34 +00:00
|
|
|
def install
|
2012-07-30 19:15:01 +00:00
|
|
|
ENV.universal_binary if build.universal?
|
2014-05-21 22:28:44 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
2009-10-22 15:09:34 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|