[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: About creating .deb packages

On Wed, Dec 29, 2004 at 10:58:09PM -0800, TIFR students wrote:
> We would like to know which files are absolutely necessary for
> creating .deb package (assuming u have all the source files needed).
> We know about control file,changelog,rules,conffile, n scripts like
> postrm,prerm,preinst,postinst.
> We have an idea of contents of a control file.But what is to be
> contained in the scripts ? Are rules,changelog and conffile
> necessary??

The standard package building scripts in dpkg-dev (and you shouldn't
attempt to build Debian packages using anything less, although it's
technically possible to put the bytes together in the right order in
other ways) require debian/control, debian/changelog, and debian/rules.
Debian policy further requires debian/copyright. Depending on the
package you're creating, other files may be useful.

For your other questions, see the Debian New Maintainer's Guide, the
Debian Policy Manual, the documentation in the dpkg-dev package, and the
documentation for any package-building helpers you're using. For
instance, debhelper has a fine set of man pages.


Colin Watson                                       [cjwatson@debian.org]

Reply to: