Standarts for building debian packages
I am going to build a lot of debian packages and i wanted to know if
there are some standarts/templates/utilities for building debian
packages. Or i should write all in my scripts for each case ?
For example i need to perform the following tasks:
1) Build debian package from some source. It mean configure, compile,
strict and package into *.deb.
2) Patch existing debian package.
3) Build development package containing only *.h files.
Any references are welcome.