require 'formula' class Lnav < Formula homepage 'http://lnav.org' url 'https://github.com/tstack/lnav/archive/v0.6.1.tar.gz' sha1 'fd2bfc5b34af9cb7eea7a10d3722e13bd7adcad7' head 'https://github.com/tstack/lnav.git' depends_on 'readline' depends_on 'pcre' def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make", "install" end end