2012-04-14 16:48:51 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Crash < Formula
|
2013-05-25 04:08:47 +00:00
|
|
|
homepage 'http://www.crashub.org/'
|
2014-05-08 10:00:38 +00:00
|
|
|
url 'http://search.maven.org/remotecontent?filepath=org/crsh/crsh.distrib/1.2.9/crsh.distrib-1.2.9.tar.gz'
|
|
|
|
sha1 '7e0f066ea398e76bdabe0ed715a4ac188597c4f4'
|
2013-12-29 18:31:21 +00:00
|
|
|
|
2014-01-15 08:20:31 +00:00
|
|
|
devel do
|
2014-05-30 17:18:26 +00:00
|
|
|
url 'http://search.maven.org/remotecontent?filepath=org/crashub/crash.distrib/1.3.0-cr1/crash.distrib-1.3.0-cr1.tar.gz'
|
|
|
|
version '1.3.0-cr1'
|
|
|
|
sha1 '18786ae6a427b0630541b0cab7ec01c340e50bea'
|
2014-01-15 08:20:31 +00:00
|
|
|
|
|
|
|
resource 'docs' do
|
2014-05-30 17:18:26 +00:00
|
|
|
url 'http://search.maven.org/remotecontent?filepath=org/crashub/crash.distrib/1.3.0-cr1/crash.distrib-1.3.0-cr1-docs.tar.gz'
|
|
|
|
version '1.3.0-cr1'
|
|
|
|
sha1 '2cb3baeafaeda4a5a4e6d0d8c0a6d28db1ba7636'
|
2014-01-15 08:20:31 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2013-12-29 18:31:21 +00:00
|
|
|
resource 'docs' do
|
2014-05-08 10:00:38 +00:00
|
|
|
url 'http://search.maven.org/remotecontent?filepath=org/crsh/crsh.distrib/1.2.9/crsh.distrib-1.2.9-docs.tar.gz'
|
|
|
|
sha1 '134ebdb9b77f0916f73101154ea475e49ca57fe3'
|
2013-12-29 18:31:21 +00:00
|
|
|
end
|
2012-04-14 16:48:51 +00:00
|
|
|
|
|
|
|
def install
|
2013-12-29 18:31:21 +00:00
|
|
|
doc.install resource('docs')
|
2012-04-14 16:48:51 +00:00
|
|
|
libexec.install Dir['crash/*']
|
|
|
|
bin.install_symlink "#{libexec}/bin/crash.sh"
|
|
|
|
end
|
|
|
|
end
|