Building debian packages from source

…for future reference:

1.  apt-get source (-t testing) PACKAGENAME
2.  apt-get build-dep (-t testing) PACKAGENAME  
    
3.  cd PACKAGANAME-version
4.  OPT: vi debian/rules (e.g. to activate some experimental features)  
    
5.  OPT: vi debian/patches/00list (to enlist a patch that should be applied)
6.  OPT: vi debian/patches/... (the patch enlisted previosly)
7.  dpkg-buildpackage -rfakeroot -uc -b
8.  dpkg -i ../PACKAGENAME-version-etc (only the necessary packages)
Next
Previous

Related