Building Debian Packages from bzr: Difference between revisions

From IHRIS Wiki
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
This article is deprecated.
== Easily Build Your Own ==
== Easily Build Your Own ==


Line 19: Line 21:
* Install the Debian packages you created: <tt>sudo dpkg -i build-area/*.deb</tt>
* Install the Debian packages you created: <tt>sudo dpkg -i build-area/*.deb</tt>


[[Category:Developer Resources]][[Category:Project Team Resources]][[Category:Software Packages]][[Category:Needs Intro]]
[[Category:Archived Pages]]

Latest revision as of 13:54, 7 October 2013

This article is deprecated.

Easily Build Your Own

  • Install Bazaar and bzr-builddeb as well as the build dependencies dpatch and debhelper. (“apt-get install bzr-builddeb dpatch debhelper”)
  • Check out my debian build scripts. I suggest doing this in a separate directory. For example:
$ mkdir build
$ cd build
$ bzr co http://bazaar.launchpad.net/~hexmode/i2ce/debian-dev i2ce
$ bzr co http://bazaar.launchpad.net/~hexmode/ihris-common/debian-dev ihris-common
$ bzr co http://bazaar.launchpad.net/~hexmode/ihris-manage/debian-dev ihris-manage
  • In each directory, run “bzr builddeb”.
$ (cd i2ce; bzr builddeb)
$ (cd ihris-common; bzr builddeb)
$ (cd ihris-manage; bzr builddeb)
  • You should now have a subdirectory named build-area with three .deb files in it. Before installing them, you'll need to install the runtime dependencies: aptitude install dbcommon-config ucf libapache2-mod-php5 php-i18nv2 php-mdb2-driver-mysql php-text-password. At this time, some are only available from the IntraHealth Debian repository above.
  • Install the Debian packages you created: sudo dpkg -i build-area/*.deb