Skip to content

Commit 1db3104

Browse files
authored
Merge pull request #27162 from kit-ty-kate/opam-publish-camlp4.5.3
Package camlp4.5.3
2 parents 042a3e4 + 27faf04 commit 1db3104

File tree

1 file changed

+44
-0
lines changed
  • packages/camlp4/camlp4.5.3

1 file changed

+44
-0
lines changed

packages/camlp4/camlp4.5.3/opam

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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+
maintainer: "[email protected]"
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.3" & < "5.4"}
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.3+1.tar.gz"
40+
checksum: [
41+
"md5=e134a0e36905df4d5281982c419afc1f"
42+
"sha512=30d0a1a52d5e359f16158e10b025e8d05fb7ccf1fa7f45cecd3584e5ba5ba995f85917680904c347437f3bdf6376ade9a666bbef7a337e5f41bc73ec1bb126d8"
43+
]
44+
}

0 commit comments

Comments
 (0)