wiki:BuildingDebianPackages

Version 6 (modified by desai, 17 years ago) (diff)

--

Building Debian Packages

  • Install packages necessary for building bcfg2
    apt-get build-dep bcfg2 bcfg2-server

or, if the available repositories do not have any version of bcfg2, try something like:

apt-get install cdbs docbook-xsl libxslt1.1 python-dev python2.4-dev sgml-base xml-core xsltproc

  • Untar the sources
  • If building from svn, make -C doc manual.html
  • cd into the debian/ subdirectory
  • Optional: if you want to have a special name for your own package, edit the first line of changelog: change eg. "(0.8.6.1-0)" to "(0.8.6.1-0myname)"
  • 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, feisty and edgy).

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