NAME
dh_clideps - calculates CLI (.NET) dependencies
SYNOPSIS
dh_clideps [debhelper options]
DESCRIPTION
dh_clideps is a debhelper program that is responsible for generating the
${cli:Depends} substitutions and adding them to substvars files.
The program will look at .dll/.exe and .config files in your package, and
will use the embedded dependency information to generate a dependency
string on assembly and shared libs packages, including the setting of
version ranges (as declared by the shlibs/clilibs files of the used
packages). The dependency on a certain \s-1CLR\s0 (.NET runtime) version will be
also added to the final variable.
Note: the dependencies on shared libraries may be not resolved correctly
if there are no .config files associated with the the .exe/.dll file
which refers to the particular shared library (by its \s-1SONAME\s0).
If you use this program, your package should build-depend on cli-common-dev
(>= 0.4.0).
OPTIONS
"-d"
Attempt to predict and avoid duplicates that may appear if you package
both, native shared libraries and \s-1DLL\s0 assemblies in one package.
The list of possibly duplicating candidates is expected to be in the
variable shlib:Depends from debian/package.substvars.
"-r"
Don't set a strong versioned dependency on mono-runtime or other \s-1CLR\s0 packages.
This option can be used to specify a relaxed dependency on the \s-1VM/CLR\s0
by-hand in the control file, eg. mono-runtime | cli-runtime.
"-ldirectory[:directory:directory:..]"
Before mondis is run, \s-1MONO_GAC_PREFIX\s0 and \s-1MONO_PATH\s0 are set to the specified directory (or
directories separate with colons). This is useful for multi-binary packages where a library is
built in one package and another package contains binaries linked against said library. Relative
paths will be made absolute for the benefit of monodis.
Note that the directory given should be the complete or relative path to a directory that contains
the library. See example below.
"internal-mono"
Uses the mono runtime in . (used for bootstrapping mono packages)
EXAMPLES
Suppose that your source package produces libfoo1.0-cil and libbar1.0-cil
binary packages.
In your rules file, first run dh_makeclilibs, then dh_clideps:
(\s-1MONO_GAC_PREFIX\s0 example)
dh_makeclilibs -V
dh_clideps -l debian/libfoo1.0-cil/usr:debian/libbar1.0-cil/usr
or
(\s-1MONO_PATH\s0 example)
dh_clideps -l debian/foo-application/usr/lib/foo-application
or
(\s-1MONO_GAC_PREFIX\s0 example)
dh_clideps -l debian/tmp/usr
SEE ALSO
debhelper(7)
This program is a part of cli-common-dev.
AUTHOR
Mirco Bauer <meebey@meebey.net>, Eduard Bloch <blade@debian.org>,
partialy based on code from Brendan O'Dea <bod@debian.org> and
Joey Hess <joeyh@debian.org>.