How to build a custom firmware .deb file?

Posted the question to StackExchange and got a nice answer for creating a .deb file relatively simply.

http://stackoverflow.com/questions/26550085/simple-deb-package-for-debian-lenny/26571338?iemail=1&noredirect=1