From: Stéphane Glondu Date: Tue, 6 Aug 2024 01:15:48 +0000 (+0200) Subject: Add bytes and bigarray compatibility packages X-Git-Tag: archive/raspbian/5.2.0-2+rpi1^2~16 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=047e99ac0825fe604235cbe5caf300ec9cb98aeb;p=ocaml.git Add bytes and bigarray compatibility packages --- diff --git a/debian/META.bigarray b/debian/META.bigarray new file mode 100644 index 00000000..654b420d --- /dev/null +++ b/debian/META.bigarray @@ -0,0 +1,4 @@ +name="bigarray" +version="[distributed with OCaml 5.2 or above]" +description="dummy backward-compatibility package for Stdlib" +requires="" diff --git a/debian/META.bytes b/debian/META.bytes new file mode 100644 index 00000000..8b38121d --- /dev/null +++ b/debian/META.bytes @@ -0,0 +1,4 @@ +name="bytes" +version="[distributed with OCaml 5.2 or above]" +description="dummy backward-compatibility package for Stdlib" +requires="" diff --git a/debian/rules b/debian/rules index 9c95a69f..92665f70 100755 --- a/debian/rules +++ b/debian/rules @@ -205,6 +205,12 @@ install-stamp-arch: install-stamp # Install the stdlib-shims compatibility package (OCaml >= 4.07) mkdir -p debian/libstdlib-ocaml-dev$(OCAML_STDLIB_DIR)/stdlib-shims cp debian/META.stdlib-shims debian/libstdlib-ocaml-dev$(OCAML_STDLIB_DIR)/stdlib-shims/META +# Install the bigarray compatibility package (OCaml >= 5.2) + mkdir -p debian/libstdlib-ocaml-dev$(OCAML_STDLIB_DIR)/bigarray + cp debian/META.bigarray debian/libstdlib-ocaml-dev$(OCAML_STDLIB_DIR)/bigarray/META +# Install the bytes compatibility package (OCaml >= 5.2) + mkdir -p debian/libstdlib-ocaml-dev$(OCAML_STDLIB_DIR)/bytes + cp debian/META.bytes debian/libstdlib-ocaml-dev$(OCAML_STDLIB_DIR)/bytes/META # Remaining stuff touch $@