Add Midnight Commander formula

Signed-off-by: Max Howell <max@methylblue.com>

Renamed from mc to midnight-commander, added mc alias.
master
Daniel Schobel 2009-11-25 01:21:13 -06:00 committed by Max Howell
parent 0dd19547c9
commit c5e79ad5cf
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
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