2014-06-15 21:48:24 +00:00
|
|
|
require "formula"
|
2012-04-14 16:48:51 +00:00
|
|
|
|
|
|
|
class Crash < Formula
|
2014-06-15 21:48:24 +00:00
|
|
|
homepage "http://www.crashub.org/"
|
|
|
|
url "http://search.maven.org/remotecontent?filepath=org/crashub/crash.distrib/1.3.0/crash.distrib-1.3.0.tar.gz"
|
|
|
|
sha1 "77ffc46cfead3ac6bb757830661e500f0c1b7a2a"
|
2013-12-29 18:31:21 +00:00
|
|
|
|
2014-06-15 21:48:24 +00:00
|
|
|
resource "docs" do
|
|
|
|
url "http://search.maven.org/remotecontent?filepath=org/crashub/crash.distrib/1.3.0/crash.distrib-1.3.0-docs.tar.gz"
|
|
|
|
sha1 "6386cf9d54c7463dcbad61d27fea6ce46ba409b5"
|
2013-12-29 18:31:21 +00:00
|
|
|
end
|
2012-04-14 16:48:51 +00:00
|
|
|
|
|
|
|
def install
|
2014-06-15 21:48:24 +00:00
|
|
|
doc.install resource("docs")
|
|
|
|
libexec.install Dir["crash/*"]
|
2012-04-14 16:48:51 +00:00
|
|
|
bin.install_symlink "#{libexec}/bin/crash.sh"
|
|
|
|
end
|
|
|
|
end
|