File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
packages/camlp4/camlp4.5.2 Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ opam-version: "2.0"
2
+ synopsis:
3
+ "Camlp4 is a system for writing extensible parsers for programming languages"
4
+ description: """\
5
+ It provides a set of OCaml libraries that are used to define grammars as well
6
+ as loadable syntax extensions of such grammars. Camlp4 stands for Caml
7
+ Preprocessor and Pretty-Printer and one of its most important applications is
8
+ the definition of domain-specific extensions of the syntax of OCaml.
9
+
10
+ Camlp4 was part of the official OCaml distribution until its version 4.01.0.
11
+ Since then it has been replaced by a simpler system which is easier to maintain
12
+ and to learn: ppx rewriters and extension points."""
13
+
14
+ authors: ["Daniel de Rauglaudre" "Nicolas Pouillard"]
15
+ license: "LGPL-2.1-only"
16
+ homepage: "https://github.com/camlp4/camlp4"
17
+ bug-reports: "https://github.com/camlp4/camlp4/issues"
18
+ depends: [
19
+ "ocaml" {>= "5.2" & < "5.3"}
20
+ "ocamlbuild" {build}
21
+ "ocamlfind" {build}
22
+ "camlp-streams"
23
+ ]
24
+ build: [
25
+ [
26
+ "./configure"
27
+ "--bindir=%{bin}%"
28
+ "--libdir=%{lib}%/ocaml"
29
+ "--pkgdir=%{lib}%"
30
+ "--pinned"
31
+ ]
32
+ [make "clean"]
33
+ [make "all"] {ocaml:native-dynlink}
34
+ [make "byte"] {!ocaml:native-dynlink}
35
+ ]
36
+ install: [make "install" "install-META"]
37
+ dev-repo: "git+https://github.com/camlp4/camlp4.git"
38
+ url {
39
+ src: "https://github.com/camlp4/camlp4/archive/refs/tags/5.2+1.tar.gz"
40
+ checksum: [
41
+ "md5=f6f680e8403117c0b0d8e4ef897bdadf"
42
+ "sha512=7034cf32575b6a7dc0406fea3c354068598195aa84a75e8576ea1219c38e4bffdc048c936d440bab235aea76510972a174bffba13f4f94f531b80fb4d80ca4ad"
43
+ ]
44
+ }
You can’t perform that action at this time.
0 commit comments