diff options
| author | Clinton R. Nixon | 2009-09-06 08:54:29 -0400 |
|---|---|---|
| committer | Max Howell | 2009-09-14 20:33:46 +0100 |
| commit | da21aeaab88dbab5e68074b2f5052598aafb8662 (patch) | |
| tree | 745203afd0a0533ea9c5e5cb3312c00443514a3b /Library/Formula/zsh.rb | |
| parent | f4bf9a5dd3345e2ba9dac39bd207633879048fc0 (diff) | |
| download | homebrew-da21aeaab88dbab5e68074b2f5052598aafb8662.tar.bz2 | |
Zsh formula
Zsh is a shell designed for interactive use, although it is also a powerful
scripting language. More information can be found on the "Zsh Web Pages"
sites.
Signed-off-by: Max Howell <max@methylblue.com>
I de-versioned the install directories aas this is typically what we do.
Diffstat (limited to 'Library/Formula/zsh.rb')
| -rw-r--r-- | Library/Formula/zsh.rb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Library/Formula/zsh.rb b/Library/Formula/zsh.rb new file mode 100644 index 000000000..b923e681e --- /dev/null +++ b/Library/Formula/zsh.rb @@ -0,0 +1,26 @@ +require 'brewkit' + +class Zsh <Formula + @url='http://downloads.sourceforge.net/project/zsh/zsh-dev/4.3.10/zsh-4.3.10.tar.gz' + @homepage='http://www.zsh.org/' + @md5='031efc8c8efb9778ffa8afbcd75f0152' + + def install + system "./configure", "--disable-debug", + "--prefix=#{prefix}", + "--disable-dependency-tracking", + # don't version stuff in Homebrew, we already do that! + "--enable-fndir=#{share}/zsh/functions", + "--enable-scriptdir=#{share}/zsh/scripts" + + # again don't version installation directories + inreplace "Src/Makefile", "$(libdir)/$(tzsh)/$(VERSION)", "$(libdir)" + inreplace "Makefile", "$(libdir)/$(tzsh)/$(VERSION)", "$(libdir)" + + system "make install" + end + + def skip_clean? path + true + end +end |
