Hello Guillaume,
I think Ubuntu 10.04 already have the OF-1.6-ext on your official repository. Another thing can help you is the shell script foamPackGeneral from the OF binaries. But if you really want build the .deb package using your compiled OF then you can use the dpkg program to do it. You will find easily on Internet about how to use dpkg to create a .deb file. The only thing can take a bit of time is to solve for all dependencies. Maybe OF-1.6-ext on the repository can help you to fix the dependencies (are the same).
Regards,
Jovani
PS: OF installation is "click like" now comparing to 2-3 years ago
