diff options
| author | August Lilleaas | 2009-09-02 21:27:58 +0200 |
|---|---|---|
| committer | Max Howell | 2009-09-03 00:47:47 +0100 |
| commit | c7df441d99574fbcafa4a28e83aca25d6c55850c (patch) | |
| tree | 75b81990fb9f186e91f453ca967f96eee597f634 /Library/Formula | |
| parent | 07e58a91a271f9bc61d8fa13cf56d7b4d92dd997 (diff) | |
| download | homebrew-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')
| -rw-r--r-- | Library/Formula/fish.rb | 21 |
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 |
