Add bytes and bigarray compatibility packages
authorStéphane Glondu <glondu@debian.org>
Tue, 6 Aug 2024 01:15:48 +0000 (03:15 +0200)
committerStéphane Glondu <glondu@debian.org>
Tue, 6 Aug 2024 01:17:28 +0000 (03:17 +0200)
debian/META.bigarray [new file with mode: 0644]
debian/META.bytes [new file with mode: 0644]
debian/rules

diff --git a/debian/META.bigarray b/debian/META.bigarray
new file mode 100644 (file)
index 0000000..654b420
--- /dev/null
@@ -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 (file)
index 0000000..8b38121
--- /dev/null
@@ -0,0 +1,4 @@
+name="bytes"
+version="[distributed with OCaml 5.2 or above]"
+description="dummy backward-compatibility package for Stdlib"
+requires=""
index 9c95a69f6e8b30be426d61c391becda3455de793..92665f70c6abfa77f7f0edf33805dea409112180 100755 (executable)
@@ -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 $@