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

Re: [OCAML 6/7] Create 2 ocaml packages, libxen-ocaml-4.1 and libxen-ocaml-dev.



On 11/15/2011 04:04 PM, Jon Ludlam wrote:
> +Package: libxen-ocaml-@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-@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-@version@-ocaml" and "libxen-@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-@version@-ocaml).


Cheers,

-- 
Stéphane


Reply to: