kjell 0.2.2

Closes Homebrew/homebrew#23924.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
karlll 2013-11-03 17:06:27 +01:00 committed by Adam Vandenberg
parent 8057e4c46b
commit 59c61ab5e0
1 changed files with 29 additions and 0 deletions

29
Formula/kjell.rb Normal file
View File

@ -0,0 +1,29 @@
require 'formula'
class Kjell < Formula
homepage 'http://karlll.github.io/kjell/'
url 'https://github.com/karlll/kjell.git', :tag => '0.2.2'
sha1 '514fc79b62093edd4149b9d1ab54874d4e9e3fae'
depends_on "erlang"
def install
system "make"
system "make", "configure", "PREFIX=#{prefix}"
system "make", "install", "NO_SYMLINK=1"
system "make", "install-extensions"
end
test do
require 'open3'
Open3.popen3("#{bin}/kjell") do |stdin, stdout, _|
stdin.write("q().\n")
stdin.close
end
end
def caveats
"Extension kjell-prompt requires a powerline patched font. See https://github.com/Lokaltog/powerline-fonts"
end
end