2014-02-27 01:27:12 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Hexcurse < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Ncurses-based console hex editor"
|
2014-02-27 01:27:12 +00:00
|
|
|
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
|