./configure; make; make install
, then there is no need to edit the file rules
.
This short article describes, how to build a Debian / Ubuntu package from a source tarball (very compressed version of Ubuntu Packaging Guide).
Assume for example you have downloaded the source package dfcgen-gtk-0.2.tar.gz
and you are working under Ubuntu 10.04 (Lucid Lynx).
Here are the steps:
dfcgen-gtk-0.2.tar.gz
in a directory of your choice, e.g. in <path>/tmp
:tar -xvfz dfcgen-gtk-0.2.tar.gz
dfcgen-gtk-0.2
and create a directory named debian:cd dfcgen-gtk-0.2; mkdir debian
dh_make
.debian
to describe your package. See the Debian Policy Manual for details on syntax and semantics.1)<path>/tmp/dfcgen-gtk-0.2
and execute dpkg-buildpackage -rfakeroot
to build your Debian package.
<path>/tmp
for your package files and be happy ./configure; make; make install
, then there is no need to edit the file rules
.