homebrew-core/Formula/ccache.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

13 lines
293 B
Ruby

require 'formula'
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