homebrew-core/Formula/jam.rb
2015-06-05 14:47:57 +01:00

15 lines
501 B
Ruby

require 'formula'
class Jam < Formula
desc "Make-like build tool"
homepage 'http://www.perforce.com/resources/documentation/jam'
url 'https://swarm.workshop.perforce.com/projects/perforce_software-jam/download/main/jam-2.6.zip'
sha1 'e6d2f909798fad32f3bd7c08699265f82b05b526'
conflicts_with 'ftjam', :because => 'both install a `jam` binary'
def install
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}", "LOCATE_TARGET=bin"
bin.install "bin/jam", "bin/mkjambase"
end
end