Go to TogaWare.com Home Page.
GNU/Linux Desktop Survival Guide
by Graham Williams
Google

Initiating the Debian Package


The first task is to set up the information required for the Debian packaging system. Extract the distribution:

  $ cd ../../debian/wajig
  $ tar zxvf wajig-2.0.20.tar.gz

This will create the wajig-2.0.20 subdirectory.

Now run dh_make to set things up for Debian:

  $ cd wajig-2.0.20
  $ dh_make -e [email protected] -f ../wajig-2.0.20.tar.gz

You will be asked what kind of package to create and since wajig is a single binary package we choose s.

This has now created a debian subdirectory and copy of the original distribution in ../wajig-2.0.20.orig.tar.gz.

Note that you should only ever run dh_make once to create a Debian package.

Now edit the files in the debian subdirectory to tell Debian the appropriate information about the package.


Subsections


Copyright © 1995-2006 [email protected]
Contribue and access the PDF Version