homebrew-core/Formula/midnight-commander.rb

21 lines
635 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class MidnightCommander < Formula
homepage 'http://www.midnight-commander.org/'
url 'http://www.midnight-commander.org/downloads/mc-4.8.4.tar.bz2',
:using => CurlUnsafeDownloadStrategy
sha256 '917f32a6ce0b8e3ec893bb18af73e64c246d79066322041608352623a579234b'
depends_on 'pkg-config' => :build
2010-08-08 00:16:13 +00:00
depends_on 'glib'
depends_on 's-lang'
def install
2010-08-08 00:16:13 +00:00
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--without-x",
"--with-screen=slang"
system "make install"
end
end