aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/objective-caml.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/objective-caml.rb b/Library/Formula/objective-caml.rb
new file mode 100644
index 000000000..a2dc73b35
--- /dev/null
+++ b/Library/Formula/objective-caml.rb
@@ -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