this repo has no description
1opam-version: "2.0"
2authors: "Hugues Cassé <casse@irit.fr>"
3homepage: "https://github.com/BinaryAnalysisPlatform/FrontC"
4bug-reports: "https://github.com/BinaryAnalysisPlatform/FrontC/issues"
5dev-repo: "git+https://github.com/BinaryAnalysisPlatform/FrontC"
6maintainer: "Ivan Gotovchits <ivg@ieee.org>"
7license: "LGPL-2.1-only"
8depends: [
9 "ocaml"
10]
11
12patches: ["fix-cmxs-cmx.patch"]
13
14build: [
15 [make "PREFIX=%{lib}%" "OCAML_SITE=%{lib}%"]
16]
17
18install: [
19 [make "install" "PREFIX=%{lib}%" "OCAML_SITE=%{lib}%"]
20 ["cp" "META" "%{lib}%/FrontC"]
21]
22synopsis: "Library providing a C parser and lexer"
23description: """
24FrontC is an OCAML library providing a C parser and lexer. The result
25is a syntactic tree easy to process with usual OCAML tree management.
26
27It provides support for ANSI C syntax, old-C K&R style syntax and the
28standard GNU CC attributes.
29
30It provides also a C pretty printer as an example of use."""
31
32url {
33 src:
34 "https://github.com/BinaryAnalysisPlatform/FrontC/archive/refs/tags/v3.4.3.tar.gz"
35 checksum: [
36 "sha256=b96098bc56008e4239e571bb4e7407ac3b83be1c89bf945e2048063f9a5e528c"
37 "md5=399f66735541ecf8e06220618eef5c98"
38 ]
39 mirrors: "https://mirrors.aegis.cylab.cmu.edu/bap/FrontC/v3.4.3.tar.gz"
40}
41extra-source "fix-cmxs-cmx.patch" {
42 src:
43 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/FrontC/fix-cmxs-cmx.patch"
44 checksum: [
45 "sha256=44f1845b21cb04d050e57201fd295721321db375776e5da57644aa751892a539"
46 "md5=c1adc4cd6bcfe4939c3290683eaea33b"
47 ]
48}
49extra-source "FrontC.install" {
50 src:
51 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/FrontC/FrontC.install"
52 checksum: [
53 "sha256=501dee92dc12ec57e4f34b5e5e15ee9630cb47c0c3f5219d6172a450c3495224"
54 "md5=c56e698d092d18179f9458f311c56412"
55 ]
56}