[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][ocaml-team/ocaml-lastfm][master] Use ocaml_dune DH buildsystem



Title: GitLab

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:

Changes:

  • debian/changelog
    1
    +ocaml-lastfm (0.3.3-2) unstable; urgency=medium
    
    2
    +
    
    3
    +  * Team upload
    
    4
    +  * Use ocaml_dune DH buildsystem
    
    5
    +
    
    6
    + -- Stéphane Glondu <glondu@debian.org>  Sun, 16 Jul 2023 08:24:33 +0200
    
    7
    +
    
    1 8
     ocaml-lastfm (0.3.3-1) unstable; urgency=medium
    
    2 9
     
    
    3 10
       [ Debian Janitor ]
    

  • debian/control
    ... ... @@ -4,7 +4,7 @@ Priority: optional
    4 4
     Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
    
    5 5
     Uploaders: Kyle Robbertze <paddatrapper@debian.org>
    
    6 6
     Build-Depends: debhelper-compat (= 13),
    
    7
    -               dh-ocaml (>= 0.9),
    
    7
    +               dh-ocaml (>= 1.2),
    
    8 8
                    ocaml-dune (>= 2.0.0),
    
    9 9
                    libocamlnet-ocaml-dev (>= 4.0.4~),
    
    10 10
                    libpcre-ocaml-dev (>= 6.0.1-2~),
    

  • debian/debian-dune
    1
    +lastfm

  • debian/rules
    1 1
     #!/usr/bin/make -f
    
    2
    -
    
    3
    -include /usr/share/ocaml/ocamlvars.mk
    
    4
    -
    
    5
    -DESTDIR := $(CURDIR)/debian/tmp
    
    2
    +# -*- makefile -*-
    
    6 3
     
    
    7 4
     %:
    
    8
    -	dh $@ --with ocaml
    
    9
    -
    
    10
    -override_dh_auto_build:
    
    11
    -	dune build -p lastfm
    
    12
    -
    
    13
    -override_dh_auto_install:
    
    14
    -	dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR)
    5
    +	dh $@ --with ocaml --buildsystem ocaml_dune


  • Reply to: