aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/check.rb
blob: fab0c4dea73aef8e50210a8279eec5fd48fdc239 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Check <Formula
  url 'http://downloads.sourceforge.net/project/check/check/0.9.8/check-0.9.8.tar.gz'
  homepage 'http://check.sourceforge.net/'
  md5 '5d75e9a6027cde79d2c339ef261e7470'

  def options
    [["--universal", "Build a universal binary."]]
  end

  def install
    ENV.universal_binary if ARGV.include? "--universal"
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end