homebrew-core/Formula/camlp5.rb
Brett Koonce 92d9c6546e camlp5 6.11
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-18 11:52:07 -07:00

25 lines
626 B
Ruby

require 'formula'
class Camlp5 < Formula
homepage 'http://pauillac.inria.fr/~ddr/camlp5/'
url 'http://pauillac.inria.fr/~ddr/camlp5/distrib/src/camlp5-6.11.tgz'
sha1 '4649a2850869d624182bfb5a02f60800ae35b935'
depends_on 'objective-caml'
option 'strict', 'Compile in strict mode'
def install
if build.include? 'strict'
strictness = "-strict"
else
strictness = "-transitional"
end
system "./configure", "-prefix", prefix, "-mandir", man, strictness
# this build fails if jobs are parallelized
ENV.deparallelize
system "make world.opt"
system "make install"
end
end