Last Updated: February 25, 2016
· sheerun

Manage any installation from source with Homebrew

So you've found some .tar.gz and you want to install it on your mac from source. I suggest you creating Homebrew formula:

brew create http://example.com/foobar.tar.gz
# review your new formula
brew install foobar

Also read the Formula Cookbook.