2012-08-09 18:20:02 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ninja < Formula
|
|
|
|
homepage 'https://github.com/martine/ninja'
|
2012-09-26 08:42:51 +00:00
|
|
|
url 'https://github.com/martine/ninja/tarball/v1.0.0'
|
|
|
|
sha1 '10995610f7235dcaadc55c9ecf3fee31a5a6e856'
|
2012-08-09 18:20:02 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./bootstrap.py"
|
|
|
|
bin.install "ninja"
|
2012-09-26 08:42:51 +00:00
|
|
|
(prefix/'etc/bash_completion.d').install 'misc/bash-completion' => 'ninja-completion.sh'
|
2012-08-09 18:20:02 +00:00
|
|
|
end
|
|
|
|
end
|