aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bbcp.rb
blob: 30e867bca0ec127bb81083f67722255fc0a50e08 (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 "12.08.17.00.0"
  sha1 '63ada9888f77a07729bfc64bdda124ac44025b51'

  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