78af280606
`bbcp` is a remote-copy tool that can transfer large files more efficiently than `scp` or `rsync` when lots of bandwidth is available. Closes Homebrew/homebrew#7214. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
21 lines
416 B
Ruby
21 lines
416 B
Ruby
require 'formula'
|
|
|
|
class Bbcp < Formula
|
|
url 'http://www.slac.stanford.edu/~abh/bbcp/bbcp.tgz'
|
|
homepage 'http://www.slac.stanford.edu/%7Eabh/bbcp'
|
|
md5 '1ed7e42aa6b9233bcc1ef8567c4bc7f9'
|
|
version "10.08.29.00.0"
|
|
|
|
def install
|
|
Dir.mkdir "bin"
|
|
Dir.mkdir "obj"
|
|
cd "src" do
|
|
system "make", "Darwin"
|
|
end
|
|
bin.install "bin/bbcp"
|
|
end
|
|
|
|
def test
|
|
system("#{bin}/bbcp","--help")
|
|
end
|
|
end
|