homebrew-core/Formula/tup.rb

29 lines
610 B
Ruby
Raw Normal View History

require 'formula'
class Tup < Formula
homepage 'http://gittup.org/tup/'
url 'https://github.com/gittup/tup/tarball/v0.6'
sha1 '62c83456e6d211ca4ef3026c63231d107e107dd9'
head 'https://github.com/gittup/tup.git'
depends_on 'pkg-config' => :build
depends_on 'fuse4x'
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 fuse4x-kext`
before using 'tup' build tool.
EOS
end
end