require 'formula' class MidnightCommander < Formula homepage 'http://www.midnight-commander.org/' url 'http://www.midnight-commander.org/downloads/mc-4.8.3.tar.bz2', :using => CurlUnsafeDownloadStrategy sha256 '445f286652b85c3e8e87839bad64c28ad2dc80661778571a0b59c2b920ef60ac' depends_on 'pkg-config' => :build depends_on 'glib' depends_on 's-lang' def install system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--without-x", "--with-screen=slang" system "make install" end end