summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Glondu <Stéphane Glondu glondu@debian.org>2023-07-21 08:43:13 +0200
committerStephane Glondu <Stéphane Glondu glondu@debian.org>2023-07-21 08:43:18 +0200
commit7356dcbf414439dd59b949fef9d8c09677832aac (patch)
treed3250ecd5cf4006ef4eec834479e0e97741d3597
parentfdbef77d2857ce82cfcd9065f2d394e83ac09f6a (diff)
Update packaging
-rw-r--r--debian/control5
-rw-r--r--debian/debian-dune1
-rwxr-xr-xdebian/rules11
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