2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-06 12:54:29 +00:00
|
|
|
|
|
|
|
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"
|
|
|
|
|
2010-02-19 19:19:01 +00:00
|
|
|
# Again, don't version installation directories
|
|
|
|
inreplace ["Makefile", "Src/Makefile"],
|
|
|
|
"$(libdir)/$(tzsh)/$(VERSION)", "$(libdir)"
|
2009-09-06 12:54:29 +00:00
|
|
|
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
|
|
|
def skip_clean? path
|
|
|
|
true
|
|
|
|
end
|
|
|
|
end
|