This is my test config for homebrew, so I can install from branches quickly. The default (non --devel or --master) installs should be the same as homebrew's setup.
To install a release branch:
brew install -v https://gist.github.com/dch/4657643/raw/couchdb.rb
To install the development branch:
brew install -v --devel https://gist.github.com/dch/4657643/raw/couchdb.rb
If your bootstrap fails, saying "Unable to find the ax_check_icu.m4' file. Have you installed GNU Autoconf Archive?" then ensure that
/usr/local/binis in your path ahead of
/usr/bin` so that you use the brewed aclocal, not the OSX supplied one.
NB - this is unlikely to work on releases of OS X much older than Lion, if it does please let us know on twitter @couchdb or IRC #couchdb.