homebrew-core/Formula/bvi.rb
2019-01-25 14:41:20 +00:00

24 lines
984 B
Ruby

class Bvi < Formula
desc "Vi-like binary file (hex) editor"
homepage "https://bvi.sourceforge.io"
url "https://downloads.sourceforge.net/bvi/bvi-1.4.0.src.tar.gz"
sha256 "015a3c2832c7c097d98a5527deef882119546287ba8f2a70c736227d764ef802"
bottle do
sha256 "0a8c034737e4b28d4f6c83f3ff222a797f4488503ed44b9b0df9d8966c19d9ac" => :mojave
sha256 "832a212daacc98df05797371ff7fb6ff0bbe5b7ac824a430c04b2b7f04d0e1e7" => :high_sierra
sha256 "f918f3425865c4b8df97c32cf700f631d2c19e285adf01cc6ceadd429f7d0bfb" => :sierra
sha256 "47c35b91db7052ee938daa6ddd95e96d49982e8767a48a0821f054b543fedb7f" => :el_capitan
sha256 "4b5a3bdfa1bf083bde13338fc8fc5a8027880b3e79611ad064e44fd2f4d7a4a0" => :yosemite
sha256 "7ec90f6665011faa3f1715cf6cc855270a536993633d8a4600cdb0492db16686" => :mavericks
end
def install
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
system "make", "install"
end
test do
system "#{bin}/bvi", "-c", "q"
end
end