Skip to content

Commit

Permalink
ccache 3.1.7
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Nagel <[email protected]>
  • Loading branch information
jacknagel committed Jun 4, 2012
1 parent ff406e2 commit 5c1c15a
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions Library/Formula/ccache.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
require 'formula'

class Ccache < Formula
url 'http://samba.org/ftp/ccache/ccache-3.1.6.tar.bz2'
homepage 'http://ccache.samba.org/'
md5 '343dc9b642e1d2af1e6bd8e474dde92e'
url 'http://samba.org/ftp/ccache/ccache-3.1.7.tar.bz2'
md5 '82257745eac54826527946e9e3d046f4'

def install
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
system "make"
system "make install"

# Install symlinks for a variety of compilers into
# #{libexec}/ccache. Prepending this directory to your
# PATH should automatically activate ccache for most compiles.

ohai "Creating symbolic links"

libexec.mkpath

%w[
Expand All @@ -28,17 +22,16 @@ def install
end
end

def caveats
<<-EOS
To install symlinks for compilers that will automatically use
ccache, add this folder to the front of your PATH:
#{libexec}
def caveats; <<-EOS.undent
To install symlinks for compilers that will automatically use
ccache, prepend this directory to your PATH:
#{libexec}
If this is an upgrade and you have previously added the symlinks to
your PATH, you will need to modify it to the path specified above so
it points to the new version.
If this is an upgrade and you have previously added the symlinks to
your PATH, you will need to modify it to the path specified above so
it points to the new version.
NOTE: ccache can prevent some software from compiling.
NOTE: ccache can prevent some software from compiling.
EOS
end
end

0 comments on commit 5c1c15a

Please sign in to comment.