| 1 |
opam-version: "2.0" |
| 2 |
name: "camlp4" |
| 3 |
version: "5.4" |
| 4 |
authors: ["Daniel de Rauglaudre" "Nicolas Pouillard"] |
| 5 |
maintainer: "[email protected]" |
| 6 |
homepage: "https://github.com/camlp4/camlp4" |
| 7 |
license: "LGPL-2.1-only" |
| 8 |
build: [ |
| 9 |
[ |
| 10 |
"./configure" |
| 11 |
"--bindir=%{bin}%" |
| 12 |
"--libdir=%{lib}%/ocaml" |
| 13 |
"--pkgdir=%{lib}%" |
| 14 |
"--pinned" |
| 15 |
] |
| 16 |
[make "clean"] |
| 17 |
[make "all"] {ocaml:native-dynlink} |
| 18 |
[make "byte"] {!ocaml:native-dynlink} |
| 19 |
] |
| 20 |
depends: [ |
| 21 |
"ocaml" {>= "5.4" & < "5.5"} |
| 22 |
"ocamlbuild" {build} |
| 23 |
"ocamlfind" {build} |
| 24 |
"camlp-streams" |
| 25 |
] |
| 26 |
install: [ |
| 27 |
[make "install" "install-META"] |
| 28 |
] |
| 29 |
bug-reports: "https://github.com/camlp4/camlp4/issues" |
| 30 |
dev-repo: "git+https://github.com/camlp4/camlp4.git" |
| 31 |
synopsis: |
| 32 |
"Camlp4 is a system for writing extensible parsers for programming languages" |
| 33 |
description: """ |
| 34 |
It provides a set of OCaml libraries that are used to define grammars as well |
| 35 |
as loadable syntax extensions of such grammars. Camlp4 stands for Caml |
| 36 |
Preprocessor and Pretty-Printer and one of its most important applications is |
| 37 |
the definition of domain-specific extensions of the syntax of OCaml. |
| 38 |
|
| 39 |
Camlp4 was part of the official OCaml distribution until its version 4.01.0. |
| 40 |
Since then it has been replaced by a simpler system which is easier to maintain |
| 41 |
and to learn: ppx rewriters and extension points.""" |