homebrew-core/Formula/tup.rb
Nikolay Kolev 6bbea4b1f1 tup: switch from fuse4x to osxfuse
Closes Homebrew/homebrew#23816.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-11-16 23:48:16 -06:00

28 lines
614 B
Ruby

require 'formula'
class Tup < Formula
homepage 'http://gittup.org/tup/'
url 'https://github.com/gittup/tup/archive/v0.7.tar.gz'
sha1 '1ee3765d90a5262d56222846c698b0d555705099'
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