blob: bbcbffd832e60b7d6412f2fe2d1a5d39af8079ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
require 'formula'
class Tup < Formula
homepage 'http://gittup.org/tup/'
url 'https://github.com/gittup/tup/archive/v0.7.2.tar.gz'
sha1 'c0b14a9b7a59c6295ed7339883b21d0f1a8163b3'
head 'https://github.com/gittup/tup.git'
bottle do
cellar :any
sha1 "ea07e07027a25f92959c07844a34e24a62c1929e" => :mavericks
sha1 "c7ff37eec01fc7e5049cd5da450b88554f46f2b1" => :mountain_lion
sha1 "98255d59e38f854319a60091037fa0f605bcde1f" => :lion
end
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
|