- First, let’s install the necessary tools:
# sudo apt-get install autotools-dev fakeroot dh-make build-essential - Copy your source tree into a directory in /tmp or something else
# cp -r sources-0.1 /tmp# cd /tmp/
sources-0.1 - Now let’s make the debian control files:
# dh_make --createorigDon’t forget to iclude “–createorig” if you don’t have the orig source before.
- Edit the debian/control file and at least change the Maintainer and Description fields. There are a few other files you will probably want to edit.
- Then run the following: (don’t use sudo!!)
# dpkg-buildpackage -rfakeroot
- At last, if we look in /tmp (one directory up) we see
sources-0.1.debwhich ready . .
Building debian (*.deb) package from tarball source (*.tar.gz)
24 03 2008Comments : 7 Comments »
Tags: how to build debian tarball tar.gz .deb
Categories : Linux Tutorial


Recent Comments