Am Monday 03 August 2009 schrieb Yuval Levy: > > Kornel Benko wrote: > > Am Monday 03 August 2009 schrieb Yuval Levy: > >> So now I have to look into the chrooting as suggested by Roger and then > >> I shall be able to build both 32 and 64 bit versions for whatever > >> version of Debian / Ubuntu on the same box? > > > > Yes, but there is a drawback. We have no dependecies listed in the > > deb-file. I am creating some, > > but they are specific to _my_ system. I could send you a script to display > > the dependencies on your system, so we could compare. > > yes, please. feel free to share your scripts on this list - the more > knowledge is spread, the better for the project.
Ok, here it comes.
It is poor commented, so some words first.
Although it reads dependencies for rpm too, we don't need it, because it looks
like
rpm itself takes care of it.
1.) Change $packaging from "rpm" to "debian (line 10)
2.) Adapt the $bindir to where you install the package
3.) Install hugin. (e.g. sudo dpkg -i hugin-2009.1.0-Linux.deb)
4.) call getlibs.pl (e.g. perl getlibs.pl)
The last output line is what we need. (We have to set the cmake-variable
CPACK_DEBIAN_PACKAGE_DEPENDS)
> Yuv
Kornel
--
Kornel Benko
[email protected]
getlibs.pl
Description: Perl program
signature.asc
Description: This is a digitally signed message part.
