Re: Packaging a project using cmake
On 2008-06-07, Mathieu Malaterre <firstname.lastname@example.org> wrote:
> On Sat, Jun 7, 2008 at 7:47 PM, Sune Vuorela <email@example.com> wrote:
>> On 2008-06-07, Mathieu Malaterre <firstname.lastname@example.org> wrote:
>>> Hi there,
>>> I am working on cleaning up the packaging of my project (GDCM) using
>>> cmake so that the .deb produced is consistant with the debian package.
>>> I was wondering if anyone had done the work before ? I am currently
>>> struggling on how to do it properly when installing python module
>>> (what is the layout, how do you know the python target installation
>> Are you talking about using cmake to *build the deb* or just about
>> packaging a project using cmake?
>> If you are talking about the former, please forget it.
> What do you mean ? Indeed I want the whole process from src to .deb
> handled by cmake.
Then please forget it. That doesn't make proper debs.
> I made some prelimianary versions at:
> You need to use cmake 2.6.0 (none of the dpkg-* utils are needed in
> the process).
And this is where the cmake folks are wrong (I once wrote them a long
email about it).
> But if you take the souce tarball, dpkg-buildpackage should work too. Ref:
I stopped looking when
* no builddepenencies except cmake and debhelper
* one package filled with development packages and stuff.