Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (21 sloc) 836 Bytes
require 'formula'
class ObjectiveCaml <Formula
url ''
homepage ''
md5 '4601a7aea66444d61704de8de46c52c6'
# note it indeed seems necessary to skip cleaning everything
# see
skip_clean :all
def install
system "./configure", "--prefix", prefix, "--mandir", man
system "make world"
# 'world' can be built in parallel, but the other targets have problems
system "make opt"
system "make opt.opt"
system "make install"
# site-lib in the Cellar will be a symlink to the HOMEBREW_PREFIX location
ln_s HOMEBREW_PREFIX+"lib/ocaml/site-lib", lib+"ocaml/site-lib"
Jump to Line
Something went wrong with that request. Please try again.