Although the article is from 2003, it contains a lot of usefull information about how to create Debian packages: http://www-128.ibm.com/developerworks/linux/library/l-debpkg.html