homebrew-core/Formula/ncftp.rb

26 lines
842 B
Ruby

class Ncftp < Formula
desc "FTP client with an advanced user interface"
homepage "http://www.ncftp.com"
url "ftp://ftp.ncftp.com/ncftp/ncftp-3.2.6-src.tar.gz"
sha256 "129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23"
bottle do
sha256 "25caf7d9c7ac3c1642d3d205fcedfbea05878798033c0ff82cc3b5fbab4674d5" => :sierra
sha256 "821f66bcd8991168314bb77f1404b3af6f93fda5c4fdcb3c651d3b7fbdd7f4fe" => :el_capitan
sha256 "ac12f87bb648eb4dde883ad5ccca0c8cf80c60e1437ce03e5fc8d768fcec1bde" => :yosemite
end
def install
system "./configure", "--disable-universal",
"--disable-precomp",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make"
system "make", "install"
end
test do
system "#{bin}/ncftp", "-F"
end
end