processone/ejabberd — pull request #391 by loguntsov (2014-12-28 22:45:19+00:00)
Title: Ability to install rich modules of ejabberd.

All modules must placed to ebin directory via simple beam-files list.
Simple modules for ejabberd must placed with this files also.
Rich modules require any dependencies and this make problem with their installation.

This solution permits install modules with dependencies as direcory of ebin directory.
For example if the ejabberd installed to /lib/ejabberd, then any modules will can install to the /lib/ejabberd/ebin/my_module.

The beam-filles of module must placed to ebin directory of my_module directory (my_module/ebin)
And all beam-files of module dependencies must placed to ebin directory of deps directory (my_module/deps/my_dependence/ebin ).