homebrew-core/Formula/bbftp-client.rb

41 lines
1.6 KiB
Ruby

class BbftpClient < Formula
desc "Secure file transfer software, optimized for large files"
homepage "http://software.in2p3.fr/bbftp/"
url "http://software.in2p3.fr/bbftp/dist/bbftp-client-3.2.1.tar.gz"
sha256 "4000009804d90926ad3c0e770099874084fb49013e8b0770b82678462304456d"
license "GPL-2.0-or-later"
revision 3
livecheck do
url "http://software.in2p3.fr/bbftp/download.html"
regex(/href=.*?bbftp-client[._-]v?(\d+(?:\.\d+)+)\.t/i)
end
bottle do
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_monterey: "d429a71fe3b54e34d75efd1480062c322cee2a9b471628a671de3e9f1b91b201"
sha256 cellar: :any_skip_relocation, arm64_big_sur: "bd7a47c27111d4dc064a7009f919a3283360738329dcfde7eb6522ee280e78fd"
sha256 cellar: :any_skip_relocation, monterey: "e50848489c6ad43604cbc0730d027939830ddc50d46fdd8d18dc6f729a910503"
sha256 cellar: :any_skip_relocation, big_sur: "f30650734e1829a0c399153c78088ccd987f28ede25b8eb13ecde6b138d55076"
sha256 cellar: :any_skip_relocation, catalina: "6d5bed31d69a0ff2f38f2642176cb3c3a4da34c4ea2740567d2698ca62519b7d"
sha256 cellar: :any_skip_relocation, mojave: "bdb7c899dab18816b4cc1d573291ba4691f365c9ed1c9951e73f9225810a8557"
end
def install
# Fix ntohll errors; reported 14 Jan 2015.
ENV.append_to_cflags "-DHAVE_NTOHLL"
cd "bbftpc" do
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--without-ssl",
"--prefix=#{prefix}"
system "make", "install"
end
end
test do
system "#{bin}/bbftp", "-v"
end
end