diff options
| author | Mike McQuaid | 2014-08-12 12:37:21 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-08-12 12:45:01 +0100 |
| commit | 2d71eb7b48dab5e1be5f25649176f7dc0d4926dd (patch) | |
| tree | 949a70e960fa584cd368c49e9cba0e8eb9fb21a3 /Library/Formula/gnu-tar.rb | |
| parent | 5eca47e0c3a6af691f48ab68d30fe7a6f1b054e8 (diff) | |
| download | homebrew-2d71eb7b48dab5e1be5f25649176f7dc0d4926dd.tar.bz2 | |
gnu-tar: general cleanup.
Diffstat (limited to 'Library/Formula/gnu-tar.rb')
| -rw-r--r-- | Library/Formula/gnu-tar.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Library/Formula/gnu-tar.rb b/Library/Formula/gnu-tar.rb index c405d129d..ea3d3af11 100644 --- a/Library/Formula/gnu-tar.rb +++ b/Library/Formula/gnu-tar.rb @@ -1,10 +1,10 @@ -require 'formula' +require "formula" class GnuTar < Formula - homepage 'http://www.gnu.org/software/tar/' - url 'http://ftpmirror.gnu.org/tar/tar-1.28.tar.gz' - mirror 'http://ftp.gnu.org/gnu/tar/tar-1.28.tar.gz' - sha1 'cd30a13bbfefb54b17e039be7c43d2592dd3d5d0' + homepage "http://www.gnu.org/software/tar/" + url "http://ftpmirror.gnu.org/tar/tar-1.28.tar.gz" + mirror "http://ftp.gnu.org/gnu/tar/tar-1.28.tar.gz" + sha1 "cd30a13bbfefb54b17e039be7c43d2592dd3d5d0" bottle do sha1 "ecc6fc62b93bee896a2bd6e604c934bdb9bdc2dd" => :mavericks @@ -30,16 +30,16 @@ class GnuTar < Formula # autoreconf can be removed when the patch is merged upstream. system "autoreconf" system "./configure", *args - system "make install" + system "make", "install" # Symlink the executable into libexec/gnubin as "tar" - (libexec/'gnubin').install_symlink bin/"gtar" => "tar" + (libexec/"gnubin").install_symlink bin/"gtar" => "tar" end def caveats; <<-EOS.undent - gnu-tar has been installed as 'gtar'. + gnu-tar has been installed as "gtar". - If you really need to use it as 'tar', you can add a 'gnubin' directory + If you really need to use it as "tar", you can add a "gnubin" directory to your PATH from your bashrc like: PATH="#{opt_libexec}/gnubin:$PATH" |
