Revert "Modified formula for MC, it now supports --HEAD opt"

This reverts commit 50bd66af99cfaec4501bd37b0938e18c93198a83.
master
Mike McQuaid 2011-02-12 17:33:52 +00:00
parent 83d943e79f
commit f9553f72ba
1 changed files with 0 additions and 11 deletions

View File

@ -1,26 +1,15 @@
require 'formula'
class MidnightCommander <Formula
url 'http://www.midnight-commander.org/downloads/mc-4.7.5.tar.bz2'
homepage 'http://www.midnight-commander.org/'
sha256 '0d2b4e87b8a4158edf54380df9402b4a1a19f7494ef06dd0a0a3e3ff6a2b50f1'
head 'git://midnight-commander.org/git/mc.git', :using => :git,
# Ok, it's not a HEAD, but it works
:tag => '69d66dd5984357e37a0742c5e4d97c9f9f6305eb'
depends_on 'pkg-config' => :build
depends_on 'glib'
depends_on 's-lang'
def install
if ARGV.build_head?
ENV['LIBTOOLIZE'] = 'glibtoolize'
system 'mkdir m4'
system 'cp `brew --prefix`/share/aclocal/pkg.m4 ./m4'
system './autogen.sh'
system "cd po; for i in `ls | grep '[.]po$' | cut -d'.' -f1 | xargs`; do ./update.sh $i; done; cd .."
end
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--without-x",