Squid-Proxy-Server-Install-Script-from-Source is a project mainly written in ..., it's free.
Script that will automatically install Squid Proxy Server from source
This script will:
You must download the source archive (tar.gz) file from http://www.squid-cache.org/Download/ and extract it to your desired directory. Then edit the line:
$ SQUID_SRCVER="2.6.STABLE18"