How to create eBox debian packages

You should follow these simple steps with each eBox module:

  • sh autogen.sh
  • ./configure --disable-runtime-tests
  • make dist

Then, with your newly created .tar.gz:

  • cp foo-module.tar.gz /tmp
  • cd /tmp
  • tar zxvf foo-module.tar.gz
  • If you are editing a module inside a subversion controlled directory, run 1, if not run 2:
    1. svn export whatever/path/to/client/foo-module/debian foo-module/debian/
    2. cp -a whatever/path/to/client/foo-module/debian foo-module/debian/
  • cd foo-module
  • dpkg-buildpackage -rfakeroot