summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Glondu <steph@glondu.net>2023-08-07 08:26:43 +0200
committerStephane Glondu <steph@glondu.net>2023-08-07 08:26:43 +0200
commita0c07969fa70bfdc945b45f673e8d10abde60199 (patch)
tree7e3459d53808f3307ba2703b136d2b5390bee1b1
parentd97dc19acc3dac0299089cef3485b3d0bc2796dc (diff)
Update packagingdebian/1%5.0.4-4
-rw-r--r--debian/changelog8
-rw-r--r--debian/control4
-rw-r--r--debian/debian-dune1
-rwxr-xr-xdebian/rules10
4 files changed, 12 insertions, 11 deletions
diff --git a/debian/changelog b/debian/changelog
index ac2fe96..f7da4ee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+camlimages (1:5.0.4-4) unstable; urgency=medium
+
+ * Team upload
+ * Use ocaml_dune DH buildsystem
+ * Bump Standards-Version to 4.6.2
+
+ -- Stéphane Glondu <glondu@debian.org> Mon, 07 Aug 2023 08:26:41 +0200
+
camlimages (1:5.0.4-3) unstable; urgency=medium
* Team upload
diff --git a/debian/control b/debian/control
index 8e36858..f465aed 100644
--- a/debian/control
+++ b/debian/control
@@ -26,8 +26,8 @@ Build-Depends:
libfreetype6-dev (>= 2.1.7),
libgif-dev,
ghostscript,
- dh-ocaml
-Standards-Version: 4.6.1
+ dh-ocaml (>= 1.2)
+Standards-Version: 4.6.2
Vcs-Git: https://salsa.debian.org/ocaml-team/camlimages.git
Vcs-Browser: https://salsa.debian.org/ocaml-team/camlimages
Homepage: https://gitlab.com/camlspotter/camlimages
diff --git a/debian/debian-dune b/debian/debian-dune
new file mode 100644
index 0000000..b895d26
--- /dev/null
+++ b/debian/debian-dune
@@ -0,0 +1 @@
+camlimages
diff --git a/debian/rules b/debian/rules
index edc500a..0188143 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,16 +3,8 @@
include /usr/share/ocaml/ocamlvars.mk
-DESTDIR=$(CURDIR)/debian/tmp
-
%:
- dh $@ --with ocaml
-
-override_dh_auto_build:
- dune build -p camlimages
-
-override_dh_auto_install:
- dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=$(OCAML_STDLIB_DIR)
+ dh $@ --with ocaml --buildsystem ocaml_dune
override_dh_installexamples:
dh_installexamples -X.cvsignore