homebrew-core/Formula/midnight-commander.rb
Daniel Schobel c5e79ad5cf Add Midnight Commander formula
Signed-off-by: Max Howell <max@methylblue.com>

Renamed from mc to midnight-commander, added mc alias.
2009-12-05 16:32:56 +00:00

17 lines
445 B
Ruby

require 'formula'
class MidnightCommander <Formula
url 'http://mirror.anl.gov/pub/gnu/mc/mc-4.6.1.tar.gz'
homepage 'http://www.midnight-commander.org/'
md5 '18b20db6e40480a53bac2870c56fc3c4'
depends_on 'glib'
depends_on 'pkg-config'
aka 'mc'
def install
system "./configure", "--prefix=#{prefix}","--without-x","--with-screen=ncurses", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end