homebrew-core/Formula/lftp.rb

26 lines
673 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Lftp < Formula
2009-10-20 21:01:32 +00:00
homepage 'http://lftp.yar.ru/'
url 'http://lftp.yar.ru/ftp/lftp-4.4.10.tar.bz2'
mirror 'ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/lftp-4.4.10.tar.bz2'
sha1 '0fc98664e572256f280a5b57d279d3b415a87fce'
# https://github.com/mxcl/homebrew/issues/18749
env :std
depends_on 'pkg-config' => :build
depends_on 'readline'
2010-01-05 17:41:09 +00:00
depends_on 'gnutls'
def install
2010-02-08 17:01:50 +00:00
# Bus error
2013-07-10 02:30:15 +00:00
# TODO what are the more specific circumstances?
ENV.no_optimization if MacOS.version <= :leopard
2010-02-08 17:01:50 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end