homebrew-core/Formula/fish.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

19 lines
517 B
Ruby

require 'formula'
class Fish <Formula
url='http://downloads.sourceforge.net/project/fish/fish/1.23.1/fish-1.23.1.tar.bz2'
homepage='http://fishshell.org/'
md5='ead6b7c6cdb21f35a3d4aa1d5fa596f1'
depends_on 'readline'
def install
system "./configure", "--prefix=#{prefix}", "--without-xsel"
system "make install"
end
def caveats
"You will need to add #{HOMEBREW_PREFIX}/bin/fish to /etc/shells\n"+
"Run `chsh -s #{HOMEBREW_PREFIX}/bin/fish' to make fish your default shell."
end
end