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/'
|
2013-12-29 18:31:21 +00:00
|
|
|
url 'https://crsh.googlecode.com/files/crash-1.2.8.tar.gz'
|
|
|
|
sha1 '12290cd227b20eae07674f8cf0d43ee58732e34b'
|
|
|
|
|
2014-01-15 08:20:31 +00:00
|
|
|
devel do
|
2014-01-17 07:08:25 +00:00
|
|
|
url 'https://crsh.googlecode.com/files/crash-1.3.0-beta14.tar.gz'
|
|
|
|
sha1 '80ba0af7c951998094761160d1b034c712d9eccc'
|
2014-01-15 08:20:31 +00:00
|
|
|
|
|
|
|
resource 'docs' do
|
2014-01-17 07:08:25 +00:00
|
|
|
url 'https://crsh.googlecode.com/files/crash-1.3.0-beta14-docs.tar.gz'
|
|
|
|
version '1.3.0-beta14'
|
|
|
|
sha1 '7876c9a176361ae13de5ae505f1e3e5df642416b'
|
2014-01-15 08:20:31 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2013-12-29 18:31:21 +00:00
|
|
|
resource 'docs' do
|
|
|
|
url 'https://crsh.googlecode.com/files/crash-1.2.8-docs.tar.gz'
|
|
|
|
sha1 'ea385cf28c9c8fc0512d8809bf511c37a5be8e1a'
|
|
|
|
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
|