Stéphane Glondu pushed to branch master at Debian OCaml Maintainers / 
ocaml-lastfm


Commits:
0f545740 by Stephane Glondu at 2023-07-16T08:24:37+02:00
Use ocaml_dune DH buildsystem

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/debian-dune
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+ocaml-lastfm (0.3.3-2) unstable; urgency=medium
+
+  * Team upload
+  * Use ocaml_dune DH buildsystem
+
+ -- Stéphane Glondu <[email protected]>  Sun, 16 Jul 2023 08:24:33 +0200
+
 ocaml-lastfm (0.3.3-1) unstable; urgency=medium
 
   [ Debian Janitor ]


=====================================
debian/control
=====================================
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian OCaml Maintainers <[email protected]>
 Uploaders: Kyle Robbertze <[email protected]>
 Build-Depends: debhelper-compat (= 13),
-               dh-ocaml (>= 0.9),
+               dh-ocaml (>= 1.2),
                ocaml-dune (>= 2.0.0),
                libocamlnet-ocaml-dev (>= 4.0.4~),
                libpcre-ocaml-dev (>= 6.0.1-2~),


=====================================
debian/debian-dune
=====================================
@@ -0,0 +1 @@
+lastfm


=====================================
debian/rules
=====================================
@@ -1,14 +1,5 @@
 #!/usr/bin/make -f
-
-include /usr/share/ocaml/ocamlvars.mk
-
-DESTDIR := $(CURDIR)/debian/tmp
+# -*- makefile -*-
 
 %:
-       dh $@ --with ocaml
-
-override_dh_auto_build:
-       dune build -p lastfm
-
-override_dh_auto_install:
-       dune install --destdir=$(DESTDIR) --prefix=/usr 
--libdir=..$(OCAML_STDLIB_DIR)
+       dh $@ --with ocaml --buildsystem ocaml_dune



View it on GitLab: 
https://salsa.debian.org/ocaml-team/ocaml-lastfm/-/commit/0f5457402025251e6db18c808a943aff09760c4c

-- 
View it on GitLab: 
https://salsa.debian.org/ocaml-team/ocaml-lastfm/-/commit/0f5457402025251e6db18c808a943aff09760c4c
You're receiving this email because of your account on salsa.debian.org.


Reply via email to