[CMake] [CPack] Creating .deb package

Pau Garcia i Quiles pgquiles at elpauer.org
Wed Apr 11 12:01:49 EDT 2007


Hello,

Option 1 is the best one but if you are in a hurry and need to go with  
option 2, you may want to take a look at CheckInstall:
http://asic-linux.com.mx/~izto/checkinstall/

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to the amount of work, I usually need 10 days to answer)


Quoting Mathieu Malaterre <mathieu.malaterre at gmail.com>:

> Hello there,
>
>  I am currently looking to create .deb (debian package) for a project
> using CMake. As far as I understand I have two options:
>
> 1. Use dh_make and follow a couple of steps so that dh_make(*) will
> drive the build of the package, or
>
> 2. The structure of a .deb package is fairly simple (**). Which make
> is very close to a .tgz generated by CPack (+ some text file,
> everything archive in a single file). I would simply need to add some
> post cpack operation to archieve this.
>
> Anyone else has done a CMake2Deb script ?
>
> thanks,
> -Mathieu
>
> (*)
> http://www.debian-administration.org/articles/337
> (**)
> http://www.debian-administration.org/articles/116
>
> -- 
> Mathieu
> Tel: +33 6 32 13 33 40
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake




More information about the CMake mailing list