Compiling Debian Packages
From DWIKI
Compiling Debian Packages
Existing packages
dpkg-add source packagename
( this will save the downloaded files in . )
dpkg-source -x packagename_x.x.dsc
cd packagename_x.x
Do your stuff with the source
Relevant files:
debian/rules
dpkg-buildpackage