-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
43 lines (43 loc) · 1.11 KB
/
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."]
homepage: "http://coccinelle.lip6.fr/"
license: "GPL-1.0-or-later"
build: [
["./configure" "--enable-release" "--prefix" prefix]
[make "clean"]
[make "all.opt"]
]
remove: [
[make "uninstall"]
]
depends: [
"ocaml" {< "5.0"}
"camlp4"
"menhir" {< "20141215"}
"ocamlfind"
"pcre" {<= "7.1.1"}
"conf-pkg-config"
"conf-python-2-7"
"conf-python-2-7-dev"
"ocamlbuild" {build}
]
patches: [
"opam.patch"
]
install: [make "install"]
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."""
url {
src: "http://coccinelle.lip6.fr/distrib/coccinelle-1.0.0-rc21.tgz"
checksum: "md5=0387370889c434a69306f8e22919d6ce"
}
extra-source "opam.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/coccinelle/opam.patch"
checksum: [
"sha256=62fda329bae1b6f3fab668f675f8953b2061d370b47566ddb7de5f6a10ae959b"
"md5=33cbcaad19968ea269e5c32877b99f98"
]
}