I have an program source (Remmina) and want to install it to chroot environment. Remmina uses cmake
system.
I can install it to chroot using:
sudo make install DESTDIR=mychroot
but this is not nice method because I need to make sure the chrooted system meets all requirements (dependencies). I think the best idea is to create deb package and then install it under chroot. But how?
Oh I forgot to tell that I am using bazaar (with git plugin) and saw there is buildpackage plugin to build debs. Maybe this way would be better?
Any idea?