From db593500efa4dc1f21e64b54a7f559daa68add02 Mon Sep 17 00:00:00 2001 From: Raphael Simon Date: Fri, 18 Sep 2009 10:14:20 -0700 Subject: [PATCH] GNU tar formula (for Mac OS X) --- Formula/gnu-tar.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Formula/gnu-tar.rb diff --git a/Formula/gnu-tar.rb b/Formula/gnu-tar.rb new file mode 100644 index 0000000000..29f1c6b58a --- /dev/null +++ b/Formula/gnu-tar.rb @@ -0,0 +1,14 @@ +require 'brewkit' + +class GnuTar < Formula + @url='ftp://ftp.gnu.org/gnu/tar/tar-1.22.tar.gz' + @homepage='http://www.gnu.org/software/tar/' + @md5='efafad1b256e3de410f4fce5335d9c9d' + + def install + system "./configure", "--prefix='#{prefix}'", + "--program-prefix=g", + "--mandir='#{man}'" + system "make install" + end +end