sabotage-linux/sabotage — pull request #262 by JillTyrell (2014-09-06 00:44:22+00:00)
Title: Adding OCaml and related tooling.

The OCaml package winds up hardcoding library paths in multiple locations during compile-time based upon what is fed to it at ./configure. This will later result in OPAM builds throwing errors since they're looking for libraries in /opt/ocaml/lib/ocaml rather than /lib/ocaml. This may be a hackish solution to install it in /lib/ocaml and then move it to the proper destination, but it works.

OPAM does use autotools, however the -j option results in sporadic build failures and the C-related flags from the example were causing issues, hence the minimal build recipe. OCaml and camlp4 both use their own configure script.

This hasn't been tested with cross-compilation.