aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bbcp.rb
blob: c0ff4b350f2800abeed05ca4ba30d74c28d73eae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'formula'

class Bbcp < Formula
  homepage 'http://www.slac.stanford.edu/%7Eabh/bbcp'
  url 'http://www.slac.stanford.edu/~abh/bbcp/bbcp.tgz'
  version '13.05.03.00.0'
  sha1 '218911904b46f7aff3784705581737f53eccbc53'

  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