wiki:BuildingDebianPackages

Version 4 (modified by desai, 15 years ago) (diff)

--

Building Debian Packages

  • Untar the sources
  • If building from svn, make -C doc manual.html
  • install packages needed for building: 'apt-get build-dep bcfg2 bcfg2-server' or 'apt-get install cdbs docbook-xsl libxslt1.1 python-dev python2.4-dev sgml-base xml-core xsltproc'
  • cd into the debian/ subdirectory
  • run ./buildsys-select.sh <python version>
    This will setup the package to install python properly.
    <python version> is either:
    • 2.3 (for debian sarge),
    • 2.4 (for breezy, dapper, and nexenta <= alpha 5)
    • pycentral (for etch and edgy).

  • cd ..
  • run "fakeroot dpkg-buildpackage -uc -us"
  • enjoy your freshly built packages