homebrew-core/Formula/hexedit.rb

28 lines
891 B
Ruby

class Hexedit < Formula
desc "View and edit files in hexadecimal or ASCII"
homepage "http://rigaux.org/hexedit.html"
url "https://github.com/pixel/hexedit/archive/1.4.2.tar.gz"
sha256 "c81ffb36af9243aefc0887e33dd8e41c4b22d091f1f27d413cbda443b0440d66"
head "https://github.com/pixel/hexedit.git"
bottle do
cellar :any_skip_relocation
sha256 "9a6c6e290d26d793c2e2b85a1cc1ef0147ea70d957859228d5a363c8ebb3fb4f" => :high_sierra
sha256 "c93767f4bec81f4d372d4af42a7505131f61ce4992b2549210aa464ee5b309ce" => :sierra
sha256 "8939412f612cb0b5a8fd49fc1045bdd9dee9f729cf741fba2421ed28deeadc82" => :el_capitan
end
depends_on "autoconf" => :build
depends_on "automake" => :build
def install
system "./autogen.sh"
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
test do
shell_output("#{bin}/hexedit -h 2>&1", 1)
end
end