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>"
depends: [
  "ocaml"
]
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."""
extra-files: [
  ["opam.patch" "md5=4352830449159cb6b45de35c59a6f149"]
  ["META" "md5=bdbf1c230e0b897a898fd35dfc4cb475"]
  ["FrontC.install" "md5=c56e698d092d18179f9458f311c56412"]
]
url {
  src: "https://github.com/BinaryAnalysisPlatform/FrontC/archive/V_3_4_2.tar.gz"
  checksum: "md5=76b84606069aadac0aa05662d7a77033"
  mirrors: "https://mirrors.aegis.cylab.cmu.edu/bap/FrontC/V_3_4_2.tar.gz"
}
