aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorRaphael Simon2009-09-18 10:14:20 -0700
committerMax Howell2009-09-30 01:24:36 +0100
commitfa1ed1558539449a57a4b67f4b13cd67088c71d9 (patch)
tree3e01d708d883d7b59090bc3a7d88cd8849aefb3d /Library/Formula
parent7386035bbde672d15ab739cfc5e633f1c33d8b58 (diff)
downloadhomebrew-fa1ed1558539449a57a4b67f4b13cd67088c71d9.tar.bz2
GNU tar formula (for Mac OS X)
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gnu-tar.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/gnu-tar.rb b/Library/Formula/gnu-tar.rb
new file mode 100644
index 000000000..29f1c6b58
--- /dev/null
+++ b/Library/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