The following steps didn’t work for me (I could compile pulseaudio but it crashed when loading Apple’s Coreaudio support or it wouldn’t contain CoreAudio support). So I decided to use the Solution via Soundflower and esound described below the pulseaudio section.
As long as this pull request is not part of Homebrew I tried this way to install Pulseaudio on Mac OS X 10.7 and it works for me:
brew update
brew install https://raw.github.com/gist/1633642/pulseaudio.rb
Problems:
Alternative: The other formula (https://github.com/mxcl/homebrew/pull/9226) can be installed as follows (but doesn’t support Apple’s CoreAudio):