homebrew-core/Formula/cppunit.rb

18 lines
490 B
Ruby
Raw Normal View History

2009-10-22 15:09:34 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Cppunit < Formula
2009-10-22 15:09:34 +00:00
homepage 'http://sourceforge.net/apps/mediawiki/cppunit/'
url 'http://downloads.sourceforge.net/project/cppunit/cppunit/1.12.1/cppunit-1.12.1.tar.gz'
sha1 'f1ab8986af7a1ffa6760f4bacf5622924639bf4a'
2009-10-22 15:09:34 +00:00
option :universal
2009-10-22 15:09:34 +00:00
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
2009-10-22 15:09:34 +00:00
system "make install"
end
end