2012-08-09 18:20:02 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ninja < Formula
|
|
|
|
homepage 'https://github.com/martine/ninja'
|
2013-03-29 20:29:20 +00:00
|
|
|
url 'https://github.com/martine/ninja/archive/v1.1.0.tar.gz'
|
|
|
|
sha1 'ce37677326997c70da4fe49c1e948aba5b77317f'
|
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
|