summaryrefslogtreecommitdiff
path: root/homebrew/gnutar/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/gnutar/.make.sh-auto')
-rw-r--r--homebrew/gnutar/.make.sh-auto8
1 files changed, 8 insertions, 0 deletions
diff --git a/homebrew/gnutar/.make.sh-auto b/homebrew/gnutar/.make.sh-auto
new file mode 100644
index 000000000..d702d52d0
--- /dev/null
+++ b/homebrew/gnutar/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+ENV["gl_cv_func_getcwd_abort_bug"] = "no" if MacOS.version == :el_capitan
+args = %W[--prefix=#{prefix} --mandir=#{man} --program-prefix=g ]
+pkg:configure *args
+make DESTDIR=${PKG_DEST} install
+(libexec/"gnubin").install_symlink bin/"gtar" =>"tar"
+(libexec/"gnuman/man1").install_symlink man1/"gtar.1" => "tar.1"
+libexec.install_symlink "gnuman" => "man"