2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-02 19:27:58 +00:00
|
|
|
|
|
|
|
class Fish <Formula
|
2009-10-15 11:54:19 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/fish/fish/1.23.1/fish-1.23.1.tar.bz2'
|
|
|
|
homepage 'http://fishshell.org/'
|
|
|
|
md5 'ead6b7c6cdb21f35a3d4aa1d5fa596f1'
|
2009-09-02 19:27:58 +00:00
|
|
|
|
2009-09-18 18:16:39 +00:00
|
|
|
depends_on 'readline'
|
2009-12-04 10:47:47 +00:00
|
|
|
skip_clean 'share/doc'
|
2009-09-02 19:27:58 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}", "--without-xsel"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats
|
2009-09-03 13:18:43 +00:00
|
|
|
"You will need to add #{HOMEBREW_PREFIX}/bin/fish to /etc/shells\n"+
|
2009-09-02 19:27:58 +00:00
|
|
|
"Run `chsh -s #{HOMEBREW_PREFIX}/bin/fish' to make fish your default shell."
|
|
|
|
end
|
|
|
|
end
|