blob: 36ee482e13dc1a072344d644acb75188f37391da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
require 'formula'
class Cppunit < Formula
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
def install
args = ["--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"]
ENV.universal_binary if ARGV.build_universal?
system "./configure", *args
system "make install"
end
end
|