summaryrefslogtreecommitdiff
path: root/homebrew/coccinelle/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/coccinelle/.beer')
-rw-r--r--homebrew/coccinelle/.beer48
1 files changed, 48 insertions, 0 deletions
diff --git a/homebrew/coccinelle/.beer b/homebrew/coccinelle/.beer
new file mode 100644
index 000000000..962490009
--- /dev/null
+++ b/homebrew/coccinelle/.beer
@@ -0,0 +1,48 @@
+{
+ "name": "Coccinelle",
+ "description": "Program matching and transformation engine for C code",
+ "url": "http://coccinelle.lip6.fr/distrib/coccinelle-1.0.6.tgz",
+ "mirror": null,
+ "homepage": "http://coccinelle.lip6.fr/",
+ "depends": [
+ {
+ "depend": "hevea",
+ "build-depend": true
+ },
+ {
+ "depend": "opam",
+ "build-depend": true
+ },
+ {
+ "depend": "camlp4",
+ "build-depend": false
+ },
+ {
+ "depend": "ocaml",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV[\"OCAMLPARAM\"] = \"safe-string=0,_\" ",
+ "opamroot = buildpath/\"opamroot\"",
+ "ENV[\"OPAMROOT\"] = opamroot",
+ "ENV[\"OPAMYES\"] = \"1\"",
+ "system \"opam\", \"init\", \"--no-setup\"",
+ "system \"opam\", \"install\", \"ocamlfind\"",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--enable-release\",",
+ "\"--enable-ocaml\",",
+ "\"--enable-opt\",",
+ "\"--enable-ocaml\",",
+ "\"--with-pdflatex=no\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"opam\", \"config\", \"exec\", \"--\", \"make\"",
+ "system \"make\", \"install\"",
+ "pkgshare.install \"demos/simple.cocci\", \"demos/simple.c\""
+ ],
+ "version": "1.0.6",
+ "file": "coccinelle.rb"
+} \ No newline at end of file