[CMake] [CPack] debian binary package
Hendrik Sattler
post at hendrik-sattler.de
Wed Aug 15 04:16:42 EDT 2007
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 goes a little further that wath CPack was designed for,
> so I was expecting the packager to run the command by hands.
Highly packager and system specific, though.
HS
More information about the CMake
mailing list