Skip to content

Commit

Permalink
Merge pull request #25820 from kit-ty-kate/opam-publish-camlp4.5.1
Browse files Browse the repository at this point in the history
Package camlp4.5.1
  • Loading branch information
avsm committed May 12, 2024
2 parents c30ea52 + 136a838 commit 4eb8860
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions packages/camlp4/camlp4.5.1/opam
Original file line number Diff line number Diff line change
@@ -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.1" & < "5.2"}
"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.1+1.tar.gz"
checksum: [
"md5=1a22cdbb9377ed9d64b1a3e091051348"
"sha512=2aa69b23397d2bf2dde6d1e8cfa4008da35960822db36bb04a922c4640cadadd7d5a9f12cc0e855447327131459c0e63bdd6269e8abd598a3da10966eab1d74a"
]
}

0 comments on commit 4eb8860

Please sign in to comment.