opam-version: "2.0" authors: "Hugues Cassé " 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 " remove: [["ocamlfind" "remove" "FrontC"]] depends: [ "ocaml" "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 url { src: "https://github.com/BinaryAnalysisPlatform/FrontC/archive/V_3_4_1.tar.gz" checksum: [ "sha256=b6d47a0d3abe22ea63aa4ff2ab55bf071f84cc878f251890946127e97308aca7" "md5=1bc3d9c7829fad9d5e0499eecd84880e" ] mirrors: "https://mirrors.aegis.cylab.cmu.edu/bap/FrontC/V_3_4_1.tar.gz" } extra-source "opam.patch" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/FrontC/opam.patch.3.4.1" checksum: [ "sha256=80240535f475e10d4e7ace1b7baa0f2a6929169fd8f71a773d786b02a8d73a16" "md5=4352830449159cb6b45de35c59a6f149" ] } extra-source "META" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/FrontC/META.3.4.1" checksum: [ "sha256=4de049cce6d5c0bb86a11fbeb98e8793c1f53404ad27708b47b351e66dd45c68" "md5=bdbf1c230e0b897a898fd35dfc4cb475" ] } extra-source "FrontC.install" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/FrontC/FrontC.install" checksum: [ "sha256=501dee92dc12ec57e4f34b5e5e15ee9630cb47c0c3f5219d6172a450c3495224" "md5=c56e698d092d18179f9458f311c56412" ] }