2010-04-08 17:41:09 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Jam < Formula
|
2010-04-08 17:41:09 +00:00
|
|
|
homepage 'http://www.perforce.com/jam/jam.html'
|
2012-02-14 05:43:30 +00:00
|
|
|
url 'ftp://ftp.perforce.com/jam/jam-2.5.zip'
|
2010-04-08 17:41:09 +00:00
|
|
|
md5 'f92caadb62fe4cb0b152eff508c9d450'
|
|
|
|
|
|
|
|
def install
|
|
|
|
# Why zip up as read-only?
|
|
|
|
system "chmod a+w *"
|
|
|
|
|
|
|
|
inreplace "Makefile" do |s|
|
|
|
|
s.remove_make_var! ['CC', 'CFLAGS']
|
|
|
|
end
|
|
|
|
|
|
|
|
system "make"
|
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
|