This is a short explanation of how to create debian source package.

Assume you want to build package-x.y.tar.gz.

1. Rename that one to package-x.y.orig.tar.gz.

2. Unlack the package.

3. Enter the unpacked package directory and create subdirectory debian

4. Create control and rules files inside the debian directory.

5. dpkg-source -b package-x.y package-x.y.orig.tar.gz

6. you will end up with a dsc and diff.gz files.

7. from package-x.y.orig.tar.gz, package_x.y-z.diff.gz, package_x.y-z.dsc you can build debian binary.

TODO: explain control and rules -- MiroslavShaltev - 05 Oct 2008

DocumentationForm edit

Title How to create a Debian source package
Description This pages gives a short explanation of how to create debian source package.
Tags debian source package
Topic revision: r3 - 10 Feb 2012, ArthurVarkentin
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback