aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/fish.rb
diff options
context:
space:
mode:
authorAugust Lilleaas2009-09-02 21:27:58 +0200
committerMax Howell2009-09-03 00:47:47 +0100
commitc7df441d99574fbcafa4a28e83aca25d6c55850c (patch)
tree75b81990fb9f186e91f453ca967f96eee597f634 /Library/Formula/fish.rb
parent07e58a91a271f9bc61d8fa13cf56d7b4d92dd997 (diff)
downloadhomebrew-c7df441d99574fbcafa4a28e83aca25d6c55850c.tar.bz2
fish shell formula
fish is a user friendly command line shell for UNIX-like operating systems such as Linux.
Diffstat (limited to 'Library/Formula/fish.rb')
-rw-r--r--Library/Formula/fish.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/fish.rb b/Library/Formula/fish.rb
new file mode 100644
index 000000000..c84bb8111
--- /dev/null
+++ b/Library/Formula/fish.rb
@@ -0,0 +1,21 @@
+require 'brewkit'
+
+class Fish <Formula
+ @url='http://fishshell.org/files/1.23.1/fish-1.23.1.tar.gz'
+ @homepage='http:://fishshell.org/'
+ @md5='4b2436843e63bebba467cc4add11428a'
+
+ def deps
+ LibraryDep.new 'readline'
+ end
+
+ 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"+
+ "Run `chsh -s #{HOMEBREW_PREFIX}/bin/fish' to make fish your default shell."
+ end
+end