Formula for Perforce Jam
This commit is contained in:
parent
1d258b1d2f
commit
cf90ae0980
1 changed files with 19 additions and 0 deletions
19
Formula/jam.rb
Normal file
19
Formula/jam.rb
Normal file
|
@ -0,0 +1,19 @@
|
|||
require 'formula'
|
||||
|
||||
class Jam <Formula
|
||||
url 'ftp://ftp.perforce.com/jam/jam-2.5.zip'
|
||||
homepage 'http://www.perforce.com/jam/jam.html'
|
||||
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"
|
||||
bin.install ["bin.macosx/jam", "bin.macosx/mkjambase"]
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue