diff options
author | Stephane Glondu <Stéphane Glondu glondu@debian.org> | 2023-07-21 08:43:13 +0200 |
---|---|---|
committer | Stephane Glondu <Stéphane Glondu glondu@debian.org> | 2023-07-21 08:43:18 +0200 |
commit | 7356dcbf414439dd59b949fef9d8c09677832aac (patch) | |
tree | d3250ecd5cf4006ef4eec834479e0e97741d3597 | |
parent | fdbef77d2857ce82cfcd9065f2d394e83ac09f6a (diff) |
Update packaging
-rw-r--r-- | debian/control | 5 | ||||
-rw-r--r-- | debian/debian-dune | 1 | ||||
-rwxr-xr-x | debian/rules | 11 |
3 files changed, 6 insertions, 11 deletions
diff --git a/debian/control b/debian/control index cb238f6..f1e5984 100644 --- a/debian/control +++ b/debian/control @@ -4,14 +4,15 @@ Priority: optional Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org> Uploaders: Kyle Robbertze <paddatrapper@debian.org> Build-Depends: debhelper-compat (=13), - dh-ocaml (>= 0.9), + dh-ocaml (>= 1.2), ocaml-dune, ocaml-findlib (>= 1.2.4), ocaml (>= 3.11.2), libctypes-ocaml-dev, libresult-ocaml-dev, libalcotest-ocaml-dev, -Standards-Version: 4.6.1 +Standards-Version: 4.6.2 +Rules-Requires-Root: no Homepage: https://github.com/xapi-project/ocaml-unix-errno Vcs-Git: https://salsa.debian.org/ocaml-team/ocaml-unix-errno.git Vcs-Browser: https://salsa.debian.org/ocaml-team/ocaml-unix-errno diff --git a/debian/debian-dune b/debian/debian-dune new file mode 100644 index 0000000..5b1cad6 --- /dev/null +++ b/debian/debian-dune @@ -0,0 +1 @@ +unix-errno diff --git a/debian/rules b/debian/rules index ee423c0..91ce70b 100755 --- a/debian/rules +++ b/debian/rules @@ -1,14 +1,7 @@ #!/usr/bin/make -f +# -*- makefile -*- include /usr/share/ocaml/ocamlvars.mk -DESTDIR := $(CURDIR)/debian/tmp - %: - dh $@ --with ocaml - -override_dh_auto_build: - dune build - -override_dh_auto_install: - dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=$(OCAML_STDLIB_DIR) + dh $@ --with ocaml --buildsystem ocaml_dune |