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

class Lftp < Formula
  homepage 'http://lftp.yar.ru/'
  url 'http://ftp.yars.free.net/pub/source/lftp/lftp-4.3.8.tar.bz2'
  sha1 '6e3b8165fa89781533f4af7350f62eb670ab26fe'

  depends_on 'pkg-config' => :build
  depends_on 'readline'
  depends_on 'gnutls'

  def install
    # Bus error
    ENV.no_optimization if MacOS.leopard?

    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make install"
  end
end