The information needed to build a Debian package should be placed inside a DEBIAN/ directory under the source code directory (DEBIAN is all capitalized). Create a <working directory>/DEBIAN/, and then create two files:
- The control file contains the metadata about the package. The fields of this file are described in the Debian Policy Manual, 5.3 "Binary Package Control files".
- The md5sums are generated to specify the md5sum of the package.