2012-08-09 18:20:02 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ninja < Formula
|
|
|
|
homepage 'https://github.com/martine/ninja'
|
2013-06-14 18:36:33 +00:00
|
|
|
url 'https://github.com/martine/ninja/archive/v1.3.4.tar.gz'
|
|
|
|
sha1 'e6ac7d49b2b5913956ad6740c8612981183808af'
|
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
|