homebrew-core/Formula/zsh.rb
Adam Vandenberg d9d6b404cc Reformat zsh
2009-12-12 16:24:19 +00:00

27 lines
828 B
Ruby

require 'formula'
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
[".", "Src"].each do |f|
inreplace "#{f}/Makefile", "$(libdir)/$(tzsh)/$(VERSION)", "$(libdir)"
end
system "make install"
end
def skip_clean? path
true
end
end