The first task is to set up the information required for the Debian packaging system. Extract the distribution:
$ tar zxvf wajig-0.1.1.tar.gz
to create the wajig-0.1.1 subdirectory. Change into this directory and then run dh_make to set things up for Debian:
$ cd wajig-0.1.1 $ dh_make -e [email protected] -f ../wajig-0.1.1.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-0.1.1.orig.
Now edit the files in the debian subdirectory to tell Debian the appropriate information about the package.