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

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 kayon.toga@togaware.com -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-2018 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware and the author of the open source software Rattle and wajig.
Also the author of Data Mining with Rattle and Essentials of Data Science.