ccache formula

ccache is a compiler cache. It acts as a caching pre-processor to C/C++
compilers, using the -E compiler switch and a hash to detect when a
compilation can be satisfied from cache. This often results in a 5 to 10 times
speedup in common compilations.
master
Robert Iannucci 2009-09-24 23:31:17 -07:00 committed by Max Howell
parent c722f7d554
commit bf67584091
1 changed files with 13 additions and 0 deletions

13
Formula/ccache.rb Normal file
View File

@ -0,0 +1,13 @@
require 'brewkit'
class Ccache <Formula
@url='http://samba.org/ftp/ccache/ccache-2.4.tar.gz'
@homepage='http://ccache.samba.org/'
@md5='73c1ed1e767c1752dd0f548ec1e66ce7'
def install
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"
end
end