aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/lftp.rb
blob: 43725b67b5d969b1cd641dedbe84cf3d892d26f1 (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
25
26
require "formula"

class Lftp < Formula
  homepage "http://lftp.yar.ru/"
  url "http://lftp.yar.ru/ftp/lftp-4.5.4.tar.gz"
  sha1 "a2d74b719d0c9a4981e4413e56e3a7a6dda712f7"
  revision 1

  bottle do
    revision 1
    sha1 "7d82631bdda9733394703049b6a173fa5f4c9cf0" => :mavericks
    sha1 "1056f4a50b53aa43d5d8c4146b306e83936b6400" => :mountain_lion
    sha1 "ccc55f9e4af7325cfbed7ccdbaa78fc3737b34f0" => :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