require 'formula' class Entr < Formula homepage 'http://entrproject.org/' url 'http://entrproject.org/code/entr-2.6.tar.gz' sha1 'ad0fed4e0311c72b4c2eb70c93b7d1267bd4de4c' def install ENV['PREFIX'] = prefix ENV['MANPREFIX'] = man system "./configure" system "make" system "make install" end end