blob: f4a03c4832d73d46c1b8531c3ad065d49e863fc5 (
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
30
31
32
33
34
35
36
37
38
39
40
41
|
require 'formula'
class Tracebox < Formula
homepage 'http://www.tracebox.org/'
head 'https://github.com/tracebox/tracebox.git'
url 'https://github.com/tracebox/tracebox.git', :tag => 'v0.2'
bottle do
cellar :any
sha1 "ec8033c2cd6db48f747cb0d3a1881ae90bccfd81" => :mavericks
sha1 "08425c77bfbae29a31f4b60acbc614235023a6e7" => :mountain_lion
sha1 "9a71c329fad5e6e39108e198506fa0b8b2d40e6c" => :lion
end
depends_on 'lua'
depends_on :autoconf
depends_on :automake
depends_on :libtool
def install
ENV.append "AUTOHEADER", "true"
system "autoreconf", "--install"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
def caveats; <<-EOS.undent
tracebox requires superuser privileges. You can either run the program
via `sudo`, or change its ownership to root and set the setuid bit:
sudo chown root:wheel #{bin}/tracebox
sudo chmod u+s #{bin}/tracebox
In any case, you should be certain that you trust the software you
are executing with elevated privileges.
EOS
end
end
|