homebrew-core/Formula/midnight-commander.rb
ykichanov fdd85d4411 midnight-commander: add sftp Virtual File System support
Closes Homebrew/homebrew#23301.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-10-16 06:10:13 -07:00

23 lines
765 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'
depends_on 'libssh2'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--without-x",
"--with-screen=slang",
"--enable-vfs-sftp"
system "make install"
end
end