[CMake] [CPack] debian binary package

Alexander Neundorf a.neundorf-work at gmx.net
Wed Aug 15 08:20:23 EDT 2007


On Wednesday 15 August 2007 04:16, Hendrik Sattler wrote:
> Am Dienstag 14 August 2007 15:44 schrieb Mathieu Malaterre:
> > On 8/14/07, Tristan Carel <tristan.carel at gmail.com> wrote:
> > > I will make more serious test with `advanced' options:
> > > DEBIAN_PACKAGE_DEPENDS, stuff like that...
> >
> > If anyone has any experience with this, he should speak now or hold
> > his peace forever.
> >
> > As far as I understand to automate the process I need to parse the output
> > of 'objdump -p | grep NEEDED' to get the list of depency. Then with dpkg
> > figure out which package provide those.
>
> Yes, this will work but those search results will most likely not be
> unique, e.g. libc6-i686 and libc6 both provide libc.so.6 according to dpkg
> -S but only the latter is a proper dependency.
> Thus looking at the .shlibs files in /var/lib/dpkg/info is needed, also to
> get a properly versioned dependency.

I think this should be up to the packager.

Alex


More information about the CMake mailing list