this repo has no description
1opam-version: "2.0" 2maintainer: "Fabrice Le Fessant <fabrice.le_fessant@ocamlpro.com>" 3authors: [ 4 "Fabrice Le Fessant <fabrice.le_fessant@ocamlpro.com>" 5 ] 6homepage: "http://www.typerex.org/ocp-build.html" 7dev-repo: "git+https://github.com/OCamlPro/ocp-build.git" 8bug-reports: "https://github.com/OCamlPro/ocp-build/issues" 9depends: [ 10 "ocaml" {>= "4.02.0" & < "4.11"} 11] 12patches: [ "0001-Fix-ocp-pp-for-changes-in-compiler-libs.patch" {ocaml:version >= "4.08"} ] 13build: [ 14 [ 15 "cp" 16 "tools/ocp-pp/compat/4.02.0/ocpp_version.ml" 17 {ocaml:version < "4.02.2~"} 18 "tools/ocp-pp/compat/4.02.2/ocpp_version.ml" 19 {ocaml:version >= "4.02.2~" & ocaml:version < "4.03.0~"} 20 "tools/ocp-pp/compat/4.03.0/ocpp_version.ml" 21 {ocaml:version >= "4.03.0~" & ocaml:version < "4.04.0~"} 22 "tools/ocp-pp/compat/4.04.0/ocpp_version.ml" 23 {ocaml:version >= "4.04.0~"} 24 "tools/ocp-pp/" 25 ] 26 ["sh" "-exc" "cd tools/ocp-pp && ocamlyacc ocpp_parser.mly"] 27 [ 28 "sh" "-exc" 29 "cd tools/ocp-pp && %{ocaml:native?ocamlopt:ocamlc}% -I +compiler-libs ocamlcommon.%{ocaml:native?cmxa:cma}% ocpp_version.ml versioning.mli versioning.ml ocpp_types.ml ocpp_parser.mli ocpp_parser.ml ocpp.ml main.ml -o ocp-pp" 30 ] 31] 32install: ["cp" "tools/ocp-pp/ocp-pp" bin] 33synopsis: "A simple preprocessor for OCaml" 34description: """ 35Allowed directives: 36``` 37#include "XXX" 38#if OCAML_VERSION < <= = >= > "3.12.1" 39#else 40#elif 41#endif 42``` 43""" 44url { 45 src: "http://github.com/OCamlPro/ocp-build/archive/1.99.20-beta.tar.gz" 46 checksum: [ 47 "sha256=bf1b4e691eda1866ce787df1c573e8c0b8f65bc1bb696929a3d0fac2a23743c0" 48 "md5=72d9c1b1a42d1873628e2d6e7529d8cb" 49 ] 50} 51extra-source "0001-Fix-ocp-pp-for-changes-in-compiler-libs.patch" { 52 src: 53 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocp-pp/0001-Fix-ocp-pp-for-changes-in-compiler-libs.patch" 54 checksum: [ 55 "sha256=5bd9bffc04d8b809681d521a89dae42dab6dc15fbb5811ba9843f48151f52260" 56 "md5=4ef5805ffab4d5d13a6548fce81769c5" 57 ] 58}