2011-08-25 21:03:36 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Bbcp < Formula
|
|
|
|
homepage 'http://www.slac.stanford.edu/%7Eabh/bbcp'
|
2012-02-21 06:04:21 +00:00
|
|
|
url 'http://www.slac.stanford.edu/~abh/bbcp/bbcp.tgz'
|
2011-08-25 21:03:36 +00:00
|
|
|
version "10.08.29.00.0"
|
2012-02-21 06:04:21 +00:00
|
|
|
md5 '1ed7e42aa6b9233bcc1ef8567c4bc7f9'
|
2011-08-25 21:03:36 +00:00
|
|
|
|
|
|
|
def install
|
2012-02-21 06:04:21 +00:00
|
|
|
mkdir "bin"
|
|
|
|
mkdir "obj"
|
|
|
|
|
2011-08-25 21:03:36 +00:00
|
|
|
cd "src" do
|
|
|
|
system "make", "Darwin"
|
|
|
|
end
|
2012-02-21 06:04:21 +00:00
|
|
|
|
2011-08-25 21:03:36 +00:00
|
|
|
bin.install "bin/bbcp"
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
2012-02-21 06:04:21 +00:00
|
|
|
system "#{bin}/bbcp","--help"
|
2011-08-25 21:03:36 +00:00
|
|
|
end
|
|
|
|
end
|