aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/camlp5.rb
diff options
context:
space:
mode:
authorCory2010-08-29 15:19:57 -0400
committerAdam Vandenberg2010-09-06 12:24:34 -0700
commit75a2c2c16fcbefee658800d8136a39a233237b4d (patch)
tree6410ff61c9ee63b539abfc16ce54bbbf8156189b /Library/Formula/camlp5.rb
parent41f8a526c591b2fef55d70b61b601d1cf1a92f0b (diff)
downloadhomebrew-75a2c2c16fcbefee658800d8136a39a233237b4d.tar.bz2
Created a new formula for camlp5.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/camlp5.rb')
-rw-r--r--Library/Formula/camlp5.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/camlp5.rb b/Library/Formula/camlp5.rb
new file mode 100644
index 000000000..24aea176a
--- /dev/null
+++ b/Library/Formula/camlp5.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Camlp5 <Formula
+ url 'http://pauillac.inria.fr/~ddr/camlp5/distrib/src/camlp5-5.15.tgz'
+ homepage 'http://pauillac.inria.fr/~ddr/camlp5/'
+ md5 '67ccbf37ffe33dec137ee71ca6189ea2'
+
+ depends_on 'objective-caml'
+
+ def install
+ system "./configure -strict -prefix #{prefix} -mandir #{man}"
+ # this build fails if jobs are parallelized
+ system "make -j 1 world.opt"
+ system "make install"
+ end
+end