aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/midnight-commander.rb
blob: f9c4b07f9a3487bf117fb8fa8be695c297a573f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'formula'

class MidnightCommander <Formula
  url 'http://www.midnight-commander.org/downloads/mc-4.7.4.tar.bz2'
  homepage 'http://www.midnight-commander.org/'
  sha256 '3c8fb2cf3361958552b7397e7aa9400f8b35338da2668b4ed7b4f0e4c5377e9a'
  version '4.7.4'

  depends_on 'pkg-config' => :build
  depends_on 'glib'

  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--without-x",
                          "--with-samba",
                          "--with-screen=ncurses"
    system "make install"
  end
end