2010-04-08 17:41:09 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Jam < Formula
|
2013-11-08 21:25:04 +00:00
|
|
|
homepage 'http://www.perforce.com/resources/documentation/jam'
|
2012-02-14 05:43:30 +00:00
|
|
|
url 'ftp://ftp.perforce.com/jam/jam-2.5.zip'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '794a3f4483315c6b9f010f03b592646d3815328c'
|
2010-04-08 17:41:09 +00:00
|
|
|
|
2013-11-07 14:55:47 +00:00
|
|
|
conflicts_with 'ftjam', :because => 'both install a `jam` binary'
|
|
|
|
|
2010-04-08 17:41:09 +00:00
|
|
|
def install
|
2012-03-11 20:18:16 +00:00
|
|
|
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
|
2012-02-14 05:43:30 +00:00
|
|
|
bin.install "bin.macosx/jam", "bin.macosx/mkjambase"
|
2010-04-08 17:41:09 +00:00
|
|
|
end
|
|
|
|
end
|