···11+opam-version: "2.0"
22+synopsis:
33+ "Camlp4 is a system for writing extensible parsers for programming languages"
44+description: """\
55+It provides a set of OCaml libraries that are used to define grammars as well
66+as loadable syntax extensions of such grammars. Camlp4 stands for Caml
77+Preprocessor and Pretty-Printer and one of its most important applications is
88+the definition of domain-specific extensions of the syntax of OCaml.
99+1010+Camlp4 was part of the official OCaml distribution until its version 4.01.0.
1111+Since then it has been replaced by a simpler system which is easier to maintain
1212+and to learn: ppx rewriters and extension points."""
1313+maintainer: "ygrek@autistici.org"
1414+authors: ["Daniel de Rauglaudre" "Nicolas Pouillard"]
1515+license: "LGPL-2.1-only"
1616+homepage: "https://github.com/camlp4/camlp4"
1717+bug-reports: "https://github.com/camlp4/camlp4/issues"
1818+depends: [
1919+ "ocaml" {>= "5.2" & < "5.3"}
2020+ "ocamlbuild" {build}
2121+ "ocamlfind" {build}
2222+ "camlp-streams"
2323+]
2424+build: [
2525+ [
2626+ "./configure"
2727+ "--bindir=%{bin}%"
2828+ "--libdir=%{lib}%/ocaml"
2929+ "--pkgdir=%{lib}%"
3030+ "--pinned"
3131+ ]
3232+ [make "clean"]
3333+ [make "all"] {ocaml:native-dynlink}
3434+ [make "byte"] {!ocaml:native-dynlink}
3535+]
3636+install: [make "install" "install-META"]
3737+dev-repo: "git+https://github.com/camlp4/camlp4.git"
3838+url {
3939+ src: "https://github.com/camlp4/camlp4/archive/refs/tags/5.2+1.tar.gz"
4040+ checksum: [
4141+ "md5=f6f680e8403117c0b0d8e4ef897bdadf"
4242+ "sha512=7034cf32575b6a7dc0406fea3c354068598195aa84a75e8576ea1219c38e4bffdc048c936d440bab235aea76510972a174bffba13f4f94f531b80fb4d80ca4ad"
4343+ ]
4444+}