aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon2009-09-04 08:44:12 +0800
committerMax Howell2009-09-11 17:42:54 +0100
commitcf0c0d8ff99ea80ff4584a0ee5c085f635848bef (patch)
tree0c192f03d359fc9a416e775d572d861a0cc9a10a
parent3b7c4fd17eecb9bb6cef1aafea59c53cfce5feed (diff)
downloadhomebrew-cf0c0d8ff99ea80ff4584a0ee5c085f635848bef.tar.bz2
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.
-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