2014-06-15 21:48:24 +00:00
|
|
|
require "formula"
|
2012-04-14 16:48:51 +00:00
|
|
|
|
|
|
|
class Crash < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Kernel debugging shell for Java that allows gdb-like syntax"
|
2014-06-15 21:48:24 +00:00
|
|
|
homepage "http://www.crashub.org/"
|
2015-02-11 15:16:58 +00:00
|
|
|
url "http://search.maven.org/remotecontent?filepath=org/crashub/crash.distrib/1.3.1/crash.distrib-1.3.1.tar.gz"
|
|
|
|
sha1 "0f6c157dda63f9d828d558c8b329344a6d17c7e9"
|
2013-12-29 18:31:21 +00:00
|
|
|
|
2014-06-15 21:48:24 +00:00
|
|
|
resource "docs" do
|
2015-02-11 15:16:58 +00:00
|
|
|
url "http://search.maven.org/remotecontent?filepath=org/crashub/crash.distrib/1.3.1/crash.distrib-1.3.1-docs.tar.gz"
|
|
|
|
sha1 "56957cb06b5600ca739c87070477cf066757f3ec"
|
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
|