homebrew-core/Formula/midnight-commander.rb
Pavel Sakun da1a6d98b2 midnight-commander-4.8.10
Closes Homebrew/homebrew#21844.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-12 22:23:05 -07:00

21 lines
695 B
Ruby

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