OCaml 3.11.1 formula
Signed-off-by: Max Howell <max@methylblue.com> I renamed it objective-caml.rb as this is the naming policy of homebrew. However I acknowledge everyone will look for it under ocaml. But we do have a feature planned where formula can specify common aliases, and we'll try to get this in quickly.
This commit is contained in:
parent
b19728adf0
commit
dd27682489
1 changed files with 15 additions and 0 deletions
15
Formula/objective-caml.rb
Normal file
15
Formula/objective-caml.rb
Normal file
|
@ -0,0 +1,15 @@
|
|||
require 'brewkit'
|
||||
|
||||
class ObjectiveCaml <Formula
|
||||
@url='http://caml.inria.fr/pub/distrib/ocaml-3.11/ocaml-3.11.1.tar.bz2'
|
||||
@homepage='http://caml.inria.fr/ocaml/index.en.html'
|
||||
@md5='fe011781f37f6b41fe08e0706969a89e'
|
||||
|
||||
def install
|
||||
system "./configure --prefix #{prefix}"
|
||||
system "make world"
|
||||
system "make opt"
|
||||
system "make opt.opt"
|
||||
system "make install"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue