diff options
| author | Stuart Glenn | 2011-08-25 16:03:36 -0500 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-08-30 13:57:08 -0700 |
| commit | a5b39d4baae049773e6ec05b4adf142b812a6e30 (patch) | |
| tree | 343387f2cefe58e4af62044625645604f21ac190 /Library/Formula | |
| parent | 833b75870574c7d721eef9209e6d9a7e7320fa1b (diff) | |
| download | homebrew-a5b39d4baae049773e6ec05b4adf142b812a6e30.tar.bz2 | |
New Formula: bbcp
`bbcp` is a remote-copy tool that can transfer large files more efficiently than
`scp` or `rsync` when lots of bandwidth is available.
Closes #7214.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/bbcp.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/bbcp.rb b/Library/Formula/bbcp.rb new file mode 100644 index 000000000..426e22247 --- /dev/null +++ b/Library/Formula/bbcp.rb @@ -0,0 +1,21 @@ +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 |
