2010-01-26 19:02:51 +00:00
|
|
|
class Bvi < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
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"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "015a3c2832c7c097d98a5527deef882119546287ba8f2a70c736227d764ef802"
|
2010-01-26 19:02:51 +00:00
|
|
|
|
2015-01-25 22:44:28 +00:00
|
|
|
bottle do
|
|
|
|
sha1 "d14b7c6362ffe938f1fd500334a06cc69389c465" => :yosemite
|
|
|
|
sha1 "2f84d8f0bf10abe0200ce7e238c0241adbc7af77" => :mavericks
|
|
|
|
sha1 "02b757f6d6e79ccd19fec3fdb34a7335440b291f" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2010-01-26 19:02:51 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
|
2015-01-25 21:16:28 +00:00
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
ENV["TERM"] = "xterm"
|
|
|
|
system "#{bin}/bvi", "-c", "q"
|
2010-01-26 19:02:51 +00:00
|
|
|
end
|
|
|
|
end
|