How to compile kernel and applications from source code and release binary .deb

This presentation would cover how to take source code and port it to a platform where binary's are not available.

For example porting an application in a way so that it is usable on a platform such as maemo for the nokia 770 which runs debian and uses an ARM cpu.