Homebrew formulae need to install into the correct versioned prefix (Cellar) - take a look at the Formula Cookbook. https://github.com/mxcl/homebrew/wiki/Formula-Cookbook