2012-08-09 18:20:02 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ninja < Formula
|
|
|
|
homepage 'https://github.com/martine/ninja'
|
2013-01-01 14:58:31 +00:00
|
|
|
url 'https://github.com/martine/ninja/tarball/v1.1.0'
|
|
|
|
sha1 '491b087d124c832f83a427d424b5e48f0f3803c3'
|
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
|