2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-11 19:13:01 +00:00
|
|
|
|
|
|
|
class Lftp <Formula
|
2010-03-28 12:55:33 +00:00
|
|
|
url 'http://ftp.yars.free.net/pub/source/lftp/lftp-4.0.6.tar.bz2'
|
2009-10-20 21:01:32 +00:00
|
|
|
homepage 'http://lftp.yar.ru/'
|
2010-03-28 12:55:33 +00:00
|
|
|
md5 '7cd4f6f7d3b5d9baab4e090ebced9c91'
|
2009-09-11 19:13:01 +00:00
|
|
|
|
2009-09-21 18:00:13 +00:00
|
|
|
depends_on 'readline'
|
2010-01-05 17:41:09 +00:00
|
|
|
depends_on 'pkg-config'
|
|
|
|
depends_on 'gnutls'
|
2009-09-11 19:13:01 +00:00
|
|
|
|
|
|
|
def install
|
2010-02-08 17:01:50 +00:00
|
|
|
# Bus error
|
|
|
|
ENV.no_optimization if MACOS_VERSION == 10.5
|
|
|
|
|
2009-10-20 21:01:32 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
|
2009-09-11 19:13:01 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|