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'
|
2013-05-14 16:38:23 +00:00
|
|
|
version '13.05.03.00.0'
|
|
|
|
sha1 '218911904b46f7aff3784705581737f53eccbc53'
|
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-05-06 05:29:23 +00:00
|
|
|
system "#{bin}/bbcp", "--help"
|
2011-08-25 21:03:36 +00:00
|
|
|
end
|
|
|
|
end
|