2011-09-14 21:34:41 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Tup < Formula
|
|
|
|
homepage 'http://gittup.org/tup/'
|
2013-09-26 17:21:45 +00:00
|
|
|
url 'https://github.com/gittup/tup/archive/v0.7.tar.gz'
|
|
|
|
sha1 '1ee3765d90a5262d56222846c698b0d555705099'
|
2011-09-14 21:34:41 +00:00
|
|
|
head 'https://github.com/gittup/tup.git'
|
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'fuse4x'
|
|
|
|
|
|
|
|
def install
|
2012-03-23 20:50:49 +00:00
|
|
|
ENV['TUP_LABEL'] = version
|
|
|
|
system "./build.sh"
|
|
|
|
bin.install 'build/tup'
|
2011-09-14 21:34:41 +00:00
|
|
|
man1.install 'tup.1'
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/tup", "-v"
|
2012-03-23 20:50:49 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
Make sure to follow the directions given by `brew info fuse4x-kext`
|
|
|
|
before using 'tup' build tool.
|
|
|
|
EOS
|
2011-09-14 21:34:41 +00:00
|
|
|
end
|
|
|
|
end
|