aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/crash.rb
blob: 20865c740e1593155bd54d66f1e66c0b126518a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require "formula"

class Crash < Formula
  homepage "http://www.crashub.org/"
  url "http://search.maven.org/remotecontent?filepath=org/crashub/crash.distrib/1.3.1/crash.distrib-1.3.1.tar.gz"
  sha1 "0f6c157dda63f9d828d558c8b329344a6d17c7e9"

  resource "docs" do
    url "http://search.maven.org/remotecontent?filepath=org/crashub/crash.distrib/1.3.1/crash.distrib-1.3.1-docs.tar.gz"
    sha1 "56957cb06b5600ca739c87070477cf066757f3ec"
  end

  def install
    doc.install resource("docs")
    libexec.install Dir["crash/*"]
    bin.install_symlink "#{libexec}/bin/crash.sh"
  end
end