-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtup.rb
29 lines (25 loc) · 838 Bytes
/
tup.rb
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
class Tup < Formula
desc "File-based build system"
homepage "http://gittup.org/tup/"
url "https://github.com/gittup/tup/archive/v0.7.11.tar.gz"
sha256 "be24dff5f1f32cc85c73398487a756b4a393adab5e4d8500fd5164909d3e85b9"
license "GPL-2.0-only"
head "https://github.com/gittup/tup.git", branch: "master"
bottle do
sha256 cellar: :any_skip_relocation, x86_64_linux: "fe803cdb793a0521d4b711bbbdb150d404916e997dfba17146390219910f3383"
end
depends_on "pkg-config" => :build
depends_on "libfuse"
depends_on :linux # on macOS, requires closed-source macFUSE
def install
ENV["TUP_LABEL"] = version
system "./build.sh"
bin.install "build/tup"
man1.install "tup.1"
doc.install (buildpath/"docs").children
pkgshare.install "contrib/syntax"
end
test do
system "#{bin}/tup", "-v"
end
end