[Pkg-xen-devel] [OCAML 6/7] Create 2 ocaml packages, libxen-ocaml-4.1 and libxen-ocaml-dev.

Stéphane Glondu glondu at debian.org
Tue Nov 15 16:21:57 UTC 2011


On 11/15/2011 04:04 PM, Jon Ludlam wrote:
> +Package: libxen-ocaml- at version@
> +Architecture: any
> +Section: libs
> +Depends: ocaml-base-nox-${F:OCamlABI}, ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends}
> +Provides: ${ocaml:Provides}
> +Description: OCaml libraries for controlling Xen 
> + This package contains the runtime libraries required for the ocaml bindings
> + to the Xen control libraries.
> +
> +Package: libxen-ocaml-dev
> +Architecture: any
> +Section: libdevel
> +Depends: ocaml-nox-${F:OCamlABI}, libxen-ocaml- at version@ (= ${binary:Version}), ${shlibs:Depends}, ocaml-findlib (>= 1.1), ${misc:Depends}, ${ocaml:Depends}
> +Provides: ${ocaml:Provides}
> +Description: OCaml libraries for controlling Xen (devel package)
> + This package contains the ocaml findlib packages for compiling applications
> + that are designed to control the Xen hypervisor.

You should use "libxen- at version@-ocaml" and "libxen- at version@-ocaml-dev"
instead. I think dh_ocaml doesn't work as expected with your way. You
then shouldn't need to explicit the dependency to ocaml-nox-* nor
libxen-* (they come from libxen- at version@-ocaml).


Cheers,

-- 
Stéphane



More information about the Pkg-xen-devel mailing list