diff options
Diffstat (limited to 'Library/Formula/lftp.rb')
| -rw-r--r-- | Library/Formula/lftp.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/lftp.rb b/Library/Formula/lftp.rb new file mode 100644 index 000000000..780db5ce8 --- /dev/null +++ b/Library/Formula/lftp.rb @@ -0,0 +1,18 @@ +require 'brewkit' + +class Lftp <Formula + @url='http://ftp.yars.free.net/pub/source/lftp/lftp-3.7.15.tar.gz' + @homepage='http://lftp.yar.ru/' + @md5='6c43ffdb59234ff0533cfdda0c3c305c' + + def deps + LibraryDep.new 'readline' + end + + def install + ENV['CXXFLAGS'] += " -fno-exceptions -fno-rtti -fno-implement-inlines" + ENV['LDFLAGS'] += " -Xlinker -search_paths_first -L/usr/local/lib" + system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking", "--with-openssl", "--disable-shared", "--disable-nls" + system "make install" + end +end |
