GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
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 |
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.