homebrew-core/Formula/ninja.rb
Jacob Bandes-Storch 00aeb2b618 ninja: add URL for HEAD version
Closes Homebrew/homebrew#20928.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-07-01 09:40:31 -07:00

16 lines
429 B
Ruby

require 'formula'
class Ninja < Formula
homepage 'https://github.com/martine/ninja'
url 'https://github.com/martine/ninja/archive/v1.3.4.tar.gz'
sha1 'e6ac7d49b2b5913956ad6740c8612981183808af'
head 'https://github.com/martine/ninja.git'
depends_on :python
def install
system python, "./bootstrap.py"
bin.install "ninja"
bash_completion.install 'misc/bash-completion' => 'ninja-completion.sh'
end
end