[CMake] [CMake/CPack] empty debian package
Eric NOULARD
eric.noulard at gmail.com
Sat Mar 29 05:48:26 EDT 2008
Le Sat, 29 Mar 2008 01:32:09 +0100,
Alexander Neundorf <a.neundorf-work at gmx.net> a écrit :
> On Friday 28 March 2008, Eric Noulard wrote:
> > 2008/3/28, Jerome Arbez-Gindre <jerome.arbez-gindre at laposte.net>:
> ...
> > I've submitted a bug report:
> > http://public.kitware.com/Bug/view.php?id=6673
> >
> > When using relative path:
> > INSTALL(PROGRAMS spm DESTINATION sbin)
> >
> > the path is prefixed with CMAKE_INSTALL_PREFIX you can
> > choose at CMake run time.
> > If you didn't chose one the default value is "/usr/local"
> > thus the result for RPM case.
> >
> > As I told previously DEB generator seems [consistently] buggy
> > regarding absolute path handling in both cases.
>
> We didn't have a lot of feedback yet. Now we start to get some :-)
>
> Ok, please update to current cvs HEAD and check if it works now as it
> should.
This is OK on my side.
Using my testcase I now a have:
$ dpkg -c myscript-1.0.deb
drwxr-xr-x eric/eric 0 2008-03-29 10:42 ./usr/
drwxr-xr-x eric/eric 0 2008-03-29 10:42 ./usr/local/
drwxr-xr-x eric/eric 0 2008-03-29 10:42 ./usr/local/sbin/
-rwxr-xr-x eric/eric 33 2008-03-27
19:16 ./usr/local/sbin/myscript drwxr-xr-x eric/eric 0
2008-03-29 10:42 ./opt/ drwxr-xr-x eric/eric 0 2008-03-29
10:42 ./opt/sbin/ -rwxr-xr-x eric/eric 33 2008-03-28
06:57 ./opt/sbin/myabsolutescript
Thank you Alex,
you are fast at patching right as usual :=)
Eric
More information about the CMake
mailing list