homebrew-core/Formula/bvi.rb

23 lines
663 B
Ruby
Raw Normal View History

class Bvi < Formula
desc "Vi-like binary file (hex) editor"
2015-01-02 01:07:58 +00:00
homepage "http://bvi.sourceforge.net"
url "https://downloads.sourceforge.net/bvi/bvi-1.4.0.src.tar.gz"
sha256 "015a3c2832c7c097d98a5527deef882119546287ba8f2a70c736227d764ef802"
2015-01-25 22:44:28 +00:00
bottle do
sha1 "d14b7c6362ffe938f1fd500334a06cc69389c465" => :yosemite
sha1 "2f84d8f0bf10abe0200ce7e238c0241adbc7af77" => :mavericks
sha1 "02b757f6d6e79ccd19fec3fdb34a7335440b291f" => :mountain_lion
end
def install
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
system "make", "install"
end
test do
ENV["TERM"] = "xterm"
system "#{bin}/bvi", "-c", "q"
end
end