= Building Debian Packages = * Install packages necessary for building bcfg2 [[BR]] {{{apt-get build-dep bcfg2 bcfg2-server}}} [[BR]] or, if the available repositories do not have any version of bcfg2, try something like: [[BR]] {{{apt-get install cdbs docbook-xsl libxslt1.1 python-dev python2.4-dev sgml-base xml-core xsltproc}}} * Untar the sources * 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.9.5.7-0.1)" to "(0.9.5.7-0.1myname)" * run ./buildsys-select.sh [[br]]This will setup the package to install python properly. [[br]] is either: * 2.3 (for debian sarge), * 2.4 (for breezy, dapper, and nexenta <= alpha 6) * pycentral (for etch, feisty and edgy, gutsy, hardy). * cd .. * run "fakeroot dpkg-buildpackage -uc -us" * enjoy your freshly built packages