homebrew-core/Formula/bbcp.rb
Adam Vandenberg da3fdbd0cf Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
2012-02-24 21:35:50 -08:00

23 lines
409 B
Ruby

require 'formula'
class Bbcp < Formula
homepage 'http://www.slac.stanford.edu/%7Eabh/bbcp'
url 'http://www.slac.stanford.edu/~abh/bbcp/bbcp.tgz'
version "10.08.29.00.0"
md5 '1ed7e42aa6b9233bcc1ef8567c4bc7f9'
def install
mkdir "bin"
mkdir "obj"
cd "src" do
system "make", "Darwin"
end
bin.install "bin/bbcp"
end
def test
system "#{bin}/bbcp","--help"
end
end