diff --git a/Formula/midnight-commander.rb b/Formula/midnight-commander.rb index a0af457bd4690..715532db88d8d 100644 --- a/Formula/midnight-commander.rb +++ b/Formula/midnight-commander.rb @@ -1,10 +1,10 @@ -require 'formula' - class MidnightCommander < Formula - homepage 'http://www.midnight-commander.org/' - url 'http://ftp.midnight-commander.org/mc-4.8.14.tar.xz' - mirror 'ftp://ftp.osuosl.org/pub/midnightcommander/mc-4.8.14.tar.xz' - sha256 '6b1f74efbdf394bfab084f4d2ea2e72173de5f12cd42be2533ca2c3b72edb8e6' + homepage "https://www.midnight-commander.org/" + url "http://ftp.midnight-commander.org/mc-4.8.14.tar.xz" + mirror "http://ftp.osuosl.org/pub/midnightcommander/mc-4.8.14.tar.xz" + sha256 "6b1f74efbdf394bfab084f4d2ea2e72173de5f12cd42be2533ca2c3b72edb8e6" + + head "https://github.com/MidnightCommander/mc.git" bottle do sha256 "f970c724cc382ae72b6f96b52d7b1150103f92ff7264468f92089adb72f7399f" => :yosemite @@ -12,11 +12,11 @@ class MidnightCommander < Formula sha256 "e666054bd7bd889492f0298df8b2a5816cb4474b7834634c481753c65a6860db" => :mountain_lion end - depends_on 'pkg-config' => :build - depends_on 'glib' - depends_on 'openssl' if MacOS.version <= :leopard - depends_on 's-lang' - depends_on 'libssh2' + depends_on "pkg-config" => :build + depends_on "glib" + depends_on "openssl" if MacOS.version <= :leopard + depends_on "s-lang" + depends_on "libssh2" def install system "./configure", "--disable-debug", @@ -26,7 +26,7 @@ def install "--without-x", "--with-screen=slang", "--enable-vfs-sftp" - system "make install" + system "make", "install" end test do