aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/lftp.rb
blob: 5e2badc55edbedd57e67742de95b429b183ae8ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require "formula"

class Lftp < Formula
  homepage "http://lftp.yar.ru/"
  url "http://lftp.yar.ru/ftp/lftp-4.5.2.tar.xz"
  sha1 "c87b893852900d8e16556fac7305bdb25febfb7c"

  bottle do
    sha1 "7c451feb5c89c7d51b2d4095477a5033d0baf2e7" => :mavericks
    sha1 "4f9445f0673a5c8a5235fdfaaf266e109a3be050" => :mountain_lion
    sha1 "240b0b9efbeab3473a9892353e31246bf0fef0dc" => :lion
  end

  depends_on "pkg-config" => :build
  depends_on "readline"
  depends_on "openssl"

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--with-openssl=#{Formula["openssl"].opt_prefix}"
    system "make", "install"
  end
end