The packaging directory cp -a /usr/share/doc/cdd-dev/examples/debian . cat debian/README edit debian/control.stub change the variables to match your CDD edit debian/rules change the variable _CDD_ to your CDD make -f debian/rules dist you get your tar.gz source which you can copy anywhere and do debuild In principle you are ready.