homebrew-core/Formula/tup.rb
Brett Koonce 55a512d04b tup v0.7.1
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-15 09:09:10 +00:00

28 lines
616 B
Ruby

require 'formula'
class Tup < Formula
homepage 'http://gittup.org/tup/'
url 'https://github.com/gittup/tup/archive/v0.7.1.tar.gz'
sha1 'a0ce259ce74321d2c103e63dffbf9703b7392e16'
head 'https://github.com/gittup/tup.git'
depends_on 'pkg-config' => :build
depends_on 'osxfuse'
def install
ENV['TUP_LABEL'] = version
system "./build.sh"
bin.install 'build/tup'
man1.install 'tup.1'
end
def test
system "#{bin}/tup", "-v"
end
def caveats; <<-EOS.undent
Make sure to follow the directions given by `brew info osxfuse`
before using 'tup' build tool.
EOS
end
end