homebrew-core/Formula/lftp.rb

20 lines
461 B
Ruby

require 'formula'
class Lftp <Formula
url 'http://ftp.yars.free.net/pub/source/lftp/lftp-4.1.1.tar.bz2'
homepage 'http://lftp.yar.ru/'
md5 '87717c30869a626cc53817c1c0a585ef'
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