aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSorin Ionescu2012-01-20 14:24:25 -0500
committerAdam Vandenberg2012-02-19 17:00:33 -0800
commit73ee43fe97d0b6e2813b981514ae29c45ecc186e (patch)
treec7cf3c57ec65a01afe13ddafa2d6219c29f4c650 /Library
parent66cfa7f091abea8552398dfcb75ca50dc004ba69 (diff)
downloadhomebrew-73ee43fe97d0b6e2813b981514ae29c45ecc186e.tar.bz2
zsh 4.3.16
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/zsh.rb30
1 files changed, 22 insertions, 8 deletions
diff --git a/Library/Formula/zsh.rb b/Library/Formula/zsh.rb
index bb08d65e0..51ad3b0d4 100644
--- a/Library/Formula/zsh.rb
+++ b/Library/Formula/zsh.rb
@@ -1,30 +1,44 @@
require 'formula'
class Zsh < Formula
- url 'http://sourceforge.net/projects/zsh/files/zsh-dev/4.3.15/zsh-4.3.15.tar.gz'
homepage 'http://www.zsh.org/'
- md5 'b2e2d0a431935b408ed8ea48226f9962'
+ url 'http://sourceforge.net/projects/zsh/files/zsh-dev/4.3.16/zsh-4.3.16.tar.gz'
+ md5 '95fc26c6f163178484860d31de98ac13'
- depends_on 'gdbm' => :optional
+ depends_on 'gdbm'
+ depends_on 'libiconv'
+ depends_on 'pcre'
skip_clean :all
def install
system "./configure", "--prefix=#{prefix}",
- # don't version stuff in Homebrew, we already do that!
+ "--disable-etcdir",
"--enable-fndir=#{share}/zsh/functions",
- "--enable-scriptdir=#{share}/zsh/scripts"
+ "--enable-site-fndir=#{share}/zsh/site-functions",
+ "--enable-scriptdir=#{share}/zsh/scripts",
+ "--enable-site-scriptdir=#{share}/zsh/site-scripts",
+ "--enable-cap",
+ "--enable-function-subdirs",
+ "--enable-maildir-support",
+ "--enable-multibyte",
+ "--enable-pcre",
+ "--enable-zsh-secure-free",
+ "--with-tcsetpgrp"
- # Again, don't version installation directories
+ # Do not version installation directories.
inreplace ["Makefile", "Src/Makefile"],
"$(libdir)/$(tzsh)/$(VERSION)", "$(libdir)"
system "make install"
end
+ def test
+ system "HOME=\"#{prefix}\" make check"
+ end
+
def caveats; <<-EOS.undent
- In order to use this build of zsh as your login shell,
- it must be added to /etc/shells.
+ To use this build of Zsh as your login shell, add it to /etc/shells.
EOS
end
end