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>"
remove: [["ocamlfind" "remove" "FrontC"]]
depends: [
  "ocaml" {< "4.06.0"}
  "ocamlfind" {build}
]
patches: ["opam.patch"]
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."""
flags: light-uninstall
extra-files: [
  ["opam.patch" "md5=d787e470cdf98cef4ae22d5c922f27f6"]
  ["META" "md5=d8750391ced674a0b52c20f3aecf296c"]
  ["FrontC.install" "md5=c56e698d092d18179f9458f311c56412"]
]
url {
  src: "https://github.com/BinaryAnalysisPlatform/FrontC/archive/V_3_4.tar.gz"
  checksum: "md5=1abae6fff6f191ae65b0f6951c6a727c"
  mirrors: "https://mirrors.aegis.cylab.cmu.edu/bap/FrontC/V_3_4.tar.gz"
}
