Compiling Debian Packages: Difference between revisions

From DWIKI
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Compiling [[Debian]] Packages=
==Existing packages==
==Existing packages==
   
   
Line 9: Line 7:
  dpkg-source -x packagename_x.x.dsc
  dpkg-source -x packagename_x.x.dsc


  cd packagename_x.x
  cd packagename-x.x


===Do your stuff with the source===
===Do your stuff with the source===
Line 16: Line 14:
''debian/rules''
''debian/rules''


  dpkg-buildpackage
  dpkg-buildpackage -us -uc

Latest revision as of 19:30, 3 November 2007

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 -us -uc