2012-08-09 18:20:02 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ninja < Formula
|
|
|
|
homepage 'https://github.com/martine/ninja'
|
2013-09-16 15:35:36 +00:00
|
|
|
url 'https://github.com/martine/ninja/archive/v1.4.0.tar.gz'
|
|
|
|
sha1 '3ab2fcb71e9f70c19cda2d63983cdfe0f971d04f'
|
2013-06-30 21:45:48 +00:00
|
|
|
head 'https://github.com/martine/ninja.git'
|
2012-08-09 18:20:02 +00:00
|
|
|
|
2013-01-21 09:33:56 +00:00
|
|
|
depends_on :python
|
|
|
|
|
2012-08-09 18:20:02 +00:00
|
|
|
def install
|
2013-01-21 09:33:56 +00:00
|
|
|
system python, "./bootstrap.py"
|
2012-08-09 18:20:02 +00:00
|
|
|
bin.install "ninja"
|
2013-05-03 18:03:31 +00:00
|
|
|
bash_completion.install 'misc/bash-completion' => 'ninja-completion.sh'
|
2012-08-09 18:20:02 +00:00
|
|
|
end
|
|
|
|
end
|