I’ve been working with a set of SlackBuilds that might be helpful for people that want to install Asterisk 1.4/1.8 from source, but,
maintaining the possibility to easily (painlessly) update/upgrade/uninstall/patch/recompile Asterisk.
The Scripts are located here:
You just need to do:
$ hg clone https://bitbucket.org/jespinal/slackbuilds
And look for instructions on README file.
These scripts might save you some time if you like to maintain your own packages and/or are planning to write an automated installation script
based on customized packages.
There are some pre-created configuration file that might be used as samples or drop in files for rapid deployment.