forked from coccinelle/coccinelle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoccinelle.opam
43 lines (43 loc) · 1.12 KB
/
coccinelle.opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
opam-version: "2.0"
authors: "Julia Lawall et. al."
maintainer: "[email protected]"
bug-reports: "[email protected]"
homepage: "http://coccinelle.lip6.fr/"
dev-repo: "git://github.com/coccinelle/coccinelle"
license: "GPL"
build: [
["./autogen"]
["./configure" "--enable-release" "--enable-ocaml" "--prefix" prefix]
[make "clean"]
[make "all.opt"]
]
install: [
[make "install"]
]
remove: [
["rm" "-f" "%{prefix}%/bin/spatch"]
["rm" "-f" "%{prefix}%/bin/spatch.opt"]
["rm" "-f" "%{prefix}%/bin/pycocci"]
["rm" "-rf" "%{prefix}%/lib/coccinelle"]
["rm" "-f" "%{prefix}%/share/man/man1/spatch.1"]
["rm" "-f" "%{prefix}%/share/man/man1/pycocci.1"]
["rm" "-f" "%{prefix}%/share/man/man3/Coccilib.3cocci"]
]
depends: [
"ocaml"
"menhir"
"ocamlfind"
"pcre"
"stdcompat"
"pyml"
"conf-pkg-config"
"conf-python-3-dev"
"conf-autoconf"
"parmap"
"num"
]
synopsis: "Coccinelle is a C source code matching and transformation engine"
description: """
Coccinelle provides the language SmPL (Semantic Patch Language) for specifying
desired matches and transformations in C code."""
flags: light-uninstall