homebrew-core/Formula/cppunit.rb

21 lines
539 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
url 'http://downloads.sourceforge.net/project/cppunit/cppunit/1.12.1/cppunit-1.12.1.tar.gz'
homepage 'http://sourceforge.net/apps/mediawiki/cppunit/'
md5 'bd30e9cf5523cdfc019b94f5e1d7fd19'
def options
[["--universal", "Build for both 32 & 64 bit Intel."]]
end
2009-10-22 15:09:34 +00:00
def install
args = ["--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"]
ENV.universal_binary if ARGV.build_universal?
system "./configure", *args
2009-10-22 15:09:34 +00:00
system "make install"
end
end