Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,26 @@ | |||
require 'formula' | |||
|
|||
class Jocaml < Formula | |||
homepage 'http://http://jocaml.inria.fr/' | |||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
|||
url 'http://jocaml.inria.fr/pub/distri/jocaml-3.12/jocaml-3.12.1.tar.gz' | |||
sha1 '34c8954c766c7a7b50ba10006b10129b924ecb4b' | |||
|
|||
depends_on 'ocaml' | |||
|
|||
# Don't strip symbols, so dynamic linking doesn't break. | |||
skip_clean :all | |||
|
|||
def install | |||
system "./configure", "--prefix", HOMEBREW_PREFIX, "--mandir", man | |||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
rapha
Author
Owner
|
|||
ENV.deparallelize # Builds are not parallel-safe, esp. with many cores | |||
system "make world" | |||
system "make opt" | |||
system "make opt.opt" | |||
system "make", "PREFIX=#{prefix}", "install" | |||
(lib+'ocaml/compiler-libs').install 'typing', 'parsing', 'utils' | |||
|
|||
# site-lib in the Cellar will be a symlink to the HOMEBREW_PREFIX location, | |||
# which is mkpath'd by Keg#link when something installs into it | |||
ln_s HOMEBREW_PREFIX+"lib/ocaml/site-lib", lib+"ocaml/site-lib" | |||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
|||
end | |||
end |
Fix this line.