blob: fedce0d480807e3a2149fd6f2759190371e34a97 (
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
27
28
|
require "formula"
class Lftp < Formula
homepage "http://lftp.yar.ru/"
url "http://lftp.yar.ru/ftp/lftp-4.6.2.tar.gz"
sha1 "8c50f1b4c721143ac3e3428a72c9864edfde61f6"
bottle do
sha1 "4eb97a364cce3e0af57a0fb08e7b8094bf3fa5f5" => :yosemite
sha1 "331af6459f1cd2c65c4845cdaf0c2bd0e475e2e1" => :mavericks
sha1 "0ebecf5a39e1a5a6cdd4da9405b0914470c72e87" => :mountain_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
test do
system "#{bin}/lftp", "-c", "open ftp://mirrors.kernel.org; ls"
end
end
|