aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAnthony Ramine2013-07-31 13:22:58 +0200
committerAdam Vandenberg2013-08-01 14:55:14 -0700
commit2923a49ce7e87c0aec67176d01e8080befa96089 (patch)
treea5dcd76d2c546aa007341eba1f54b6211c1f42e2 /Library
parente9a5b4c280f0dc00cb431adf4ddd13e8bf7a4f41 (diff)
downloadhomebrew-2923a49ce7e87c0aec67176d01e8080befa96089.tar.bz2
coccinelle 1.0.0-rc17
Closes #21566. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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