-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
48 lines (48 loc) · 1.27 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
44
45
46
47
48
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" {< "4.02.0"}
"camlp4"
"menhir" {= "20140422"}
"ocamlfind"
"pcre" {<= "7.1.1"}
"conf-pkg-config"
"conf-python-2-7"
"conf-python-2-7-dev"
"ocamlbuild" {build}
]
patches: [
"opam.patch"
]
dev-repo: "git+https://github.com/coccinelle/coccinelle"
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:
"https://github.com/coccinelle/coccinelle/archive/coccinelle-1.0.0-rc23.tar.gz"
checksum: [
"sha256=27f5ab71e5ce9e3ef9d95782cb4d1306e0e1a3dcf754b5ca44d4fc6a4bbf8660"
"md5=b4b12e8b8730c586891572a2518b87a5"
]
}
extra-source "opam.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/coccinelle/opam.patch"
checksum: [
"sha256=62fda329bae1b6f3fab668f675f8953b2061d370b47566ddb7de5f6a10ae959b"
"md5=33cbcaad19968ea269e5c32877b99f98"
]
}