homebrew-core/Formula/lftp.rb

20 lines
462 B
Ruby

require 'formula'
class Lftp <Formula
url 'http://ftp.yars.free.net/pub/source/lftp/lftp-4.0.10.tar.bz2'
homepage 'http://lftp.yar.ru/'
md5 '028f14ef845403e6f76acb41f51e908c'
depends_on 'pkg-config' => :build
depends_on 'readline'
depends_on 'gnutls'
def install
# Bus error
ENV.no_optimization if MACOS_VERSION == 10.5
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make install"
end
end