aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/coccinelle.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/coccinelle.rb b/Library/Formula/coccinelle.rb
new file mode 100644
index 000000000..1a8a0ea5b
--- /dev/null
+++ b/Library/Formula/coccinelle.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Coccinelle < Formula
+ homepage 'http://coccinelle.lip6.fr/'
+ url 'http://coccinelle.lip6.fr/distrib/coccinelle-1.0.0-rc17.tgz'
+ sha1 '5c13e521578e20d3805f571dc86931cbd8d63ccd'
+
+ depends_on "objective-caml"
+
+ def install
+ system "./configure", "--disable-dependency-tracking",
+ "--enable-ocaml",
+ "--enable-opt",
+ "--prefix=#{prefix}"
+ system "make"
+ system "make", "install"
+ end
+end