aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/hexcurse.rb
blob: 58052144148e3b42c290a38309b85d4c2f08cd9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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