From 27faf04f6bd4c21e9b73b71b6ae66a0bae254438 Mon Sep 17 00:00:00 2001 From: Kate Date: Fri, 20 Dec 2024 19:45:10 +0000 Subject: [PATCH] Package camlp4.5.3 --- packages/camlp4/camlp4.5.3/opam | 44 +++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 packages/camlp4/camlp4.5.3/opam diff --git a/packages/camlp4/camlp4.5.3/opam b/packages/camlp4/camlp4.5.3/opam new file mode 100644 index 00000000000..9c9d8f610cf --- /dev/null +++ b/packages/camlp4/camlp4.5.3/opam @@ -0,0 +1,44 @@ +opam-version: "2.0" +synopsis: + "Camlp4 is a system for writing extensible parsers for programming languages" +description: """\ +It provides a set of OCaml libraries that are used to define grammars as well +as loadable syntax extensions of such grammars. Camlp4 stands for Caml +Preprocessor and Pretty-Printer and one of its most important applications is +the definition of domain-specific extensions of the syntax of OCaml. + +Camlp4 was part of the official OCaml distribution until its version 4.01.0. +Since then it has been replaced by a simpler system which is easier to maintain +and to learn: ppx rewriters and extension points.""" +maintainer: "ygrek@autistici.org" +authors: ["Daniel de Rauglaudre" "Nicolas Pouillard"] +license: "LGPL-2.1-only" +homepage: "https://github.com/camlp4/camlp4" +bug-reports: "https://github.com/camlp4/camlp4/issues" +depends: [ + "ocaml" {>= "5.3" & < "5.4"} + "ocamlbuild" {build} + "ocamlfind" {build} + "camlp-streams" +] +build: [ + [ + "./configure" + "--bindir=%{bin}%" + "--libdir=%{lib}%/ocaml" + "--pkgdir=%{lib}%" + "--pinned" + ] + [make "clean"] + [make "all"] {ocaml:native-dynlink} + [make "byte"] {!ocaml:native-dynlink} +] +install: [make "install" "install-META"] +dev-repo: "git+https://github.com/camlp4/camlp4.git" +url { + src: "https://github.com/camlp4/camlp4/archive/refs/tags/5.3+1.tar.gz" + checksum: [ + "md5=e134a0e36905df4d5281982c419afc1f" + "sha512=30d0a1a52d5e359f16158e10b025e8d05fb7ccf1fa7f45cecd3584e5ba5ba995f85917680904c347437f3bdf6376ade9a666bbef7a337e5f41bc73ec1bb126d8" + ] +} \ No newline at end of file