diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/hexedit.rb | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/Library/Formula/hexedit.rb b/Library/Formula/hexedit.rb index e59d79613..b7e96fcc0 100644 --- a/Library/Formula/hexedit.rb +++ b/Library/Formula/hexedit.rb @@ -1,14 +1,17 @@ -require 'formula' - class Hexedit < Formula - homepage 'http://rigaux.org/hexedit.html' - url 'http://rigaux.org/hexedit-1.2.13.src.tgz' - sha1 '1acb7ca37063d9f4b4d118ef223548fde3b753f1' + homepage "http://rigaux.org/hexedit.html" + url "http://rigaux.org/hexedit-1.2.13.src.tgz" + sha256 "6a126da30a77f5c0b08038aa7a881d910e3b65d13767fb54c58c983963b88dd7" def install - system "./configure", "--disable-debug", "--disable-dependency-tracking", + system "./configure", "--disable-debug", + "--disable-dependency-tracking", "--prefix=#{prefix}", "--mandir=#{man}" - system "make install" + system "make", "install" + end + + test do + shell_output("#{bin}/hexedit -h 2>&1", 1) end end |
