aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/jam.rb
blob: 76449b0d2f63f2e9a348f5341c615f828c6607cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'formula'

class Jam < Formula
  homepage 'http://www.perforce.com/resources/documentation/jam'
  url 'ftp://ftp.perforce.com/jam/jam-2.5.zip'
  sha1 '794a3f4483315c6b9f010f03b592646d3815328c'

  conflicts_with 'ftjam', :because => 'both install a `jam` binary'

  def install
    system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
    bin.install "bin.macosx/jam", "bin.macosx/mkjambase"
  end
end