aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/tup.rb
blob: f7913c63d7feba1851c96dbfa2e9fe538636650c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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

  test do
    system "#{bin}/tup", "-v"
  end
end