homebrew-core/Formula/midnight-commander.rb
Denis b1ef1bf9a9 Midnight Commander 4.8.9
Closes Homebrew/homebrew#21167.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-07-12 08:35:38 -07:00

21 lines
693 B
Ruby

require 'formula'
class MidnightCommander < Formula
homepage 'http://www.midnight-commander.org/'
url 'http://www.midnight-commander.org/downloads/mc-4.8.9.tar.bz2',
:using => CurlUnsafeDownloadStrategy
mirror 'http://fossies.org/linux/misc/mc-4.8.9.tar.bz2'
sha256 '7e184cf5ed3ff8b93fcbfff16608c1444920f523beda2fcc586878d619ea11da'
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