* Added the '--with-sample-config' option. This will generate the sample
Asterisk config files in /usr/local/etc/asterisk. It creates backups of any
existing files first.
* Removed the patch that used curl instead of wget to download the sound
files. This doesn't appear to be required any longer (at least, the sound
files download correctly without it, where they didn't previously).
* Removed the '--host=x86_64-darwin' configure switch. Supplying this switch
to configure results in the warning, 'configure: WARNING: If you wanted to
set the --build type, don't use --host. If a cross compiler is detected then
cross compile mode will be used.', and building without the switch appears
to result in the correct architecture being targeted.
* Removed the manual creation of /usr/local/etc/asterisk. This directory is
created automatically.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
snow_leopard_64? (defined in Hardware) is a short-cut for:
MACOS_VERSION >= 10.6 and Hardware.is_64_bit?
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.