/
opam
40 lines (34 loc) · 1.25 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
opam-version: "2.0"
authors: "Hugues Cassé <casse@irit.fr>"
homepage: "https://github.com/BinaryAnalysisPlatform/FrontC"
bug-reports: "https://github.com/BinaryAnalysisPlatform/FrontC/issues"
dev-repo: "git+https://github.com/BinaryAnalysisPlatform/FrontC"
maintainer: "Ivan Gotovchits <ivg@ieee.org>"
license: "LGPL-2.1-only"
depends: [
"ocaml"
]
patches: ["fix-cmxs-cmx.patch"]
build: [
[make "PREFIX=%{lib}%" "OCAML_SITE=%{lib}%"]
]
install: [
[make "install" "PREFIX=%{lib}%" "OCAML_SITE=%{lib}%"]
["cp" "META" "%{lib}%/FrontC"]
]
synopsis: "Library providing a C parser and lexer"
description: """
FrontC is an OCAML library providing a C parser and lexer. The result
is a syntactic tree easy to process with usual OCAML tree management.
It provides support for ANSI C syntax, old-C K&R style syntax and the
standard GNU CC attributes.
It provides also a C pretty printer as an example of use."""
extra-files: [
["fix-cmxs-cmx.patch" "md5=c1adc4cd6bcfe4939c3290683eaea33b"]
["FrontC.install" "md5=c56e698d092d18179f9458f311c56412"]
]
url {
src: "https://github.com/BinaryAnalysisPlatform/FrontC/archive/refs/tags/v3.4.3.tar.gz"
checksum: "md5=399f66735541ecf8e06220618eef5c98"
mirrors: "https://mirrors.aegis.cylab.cmu.edu/bap/FrontC/v3.4.3.tar.gz"
}