358b6c977d
Hexcurse is a A user-friendly ncurses based hex editor that features searching, jumping to locations, an EBCDIC mode and support for large files. Closes Homebrew/homebrew#27044. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
18 lines
484 B
Ruby
18 lines
484 B
Ruby
require 'formula'
|
|
|
|
class Hexcurse < Formula
|
|
homepage 'https://github.com/LonnyGomes/hexcurse'
|
|
url 'https://github.com/LonnyGomes/hexcurse/archive/hexcurse-1.58.tar.gz'
|
|
sha1 '6a07324a4782007dcea800b8b545f9f07e8eae8f'
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--mandir=#{man}"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/hexcurse", "-help"
|
|
end
|
|
end
|