aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/tracebox.rb
diff options
context:
space:
mode:
authorEsteban Santana Santana2013-11-18 18:14:06 -0600
committerAdam Vandenberg2013-11-23 16:44:03 -0800
commit33b9f6d030a2a1be0007ab91ce0d88da340349d0 (patch)
treea63e5e9678eb4d2c682b649bd9a84de484f31e67 /Library/Formula/tracebox.rb
parent61eb226ba5ec403b02a6a64ec0d0ce1b3a9a736f (diff)
downloadhomebrew-33b9f6d030a2a1be0007ab91ce0d88da340349d0.tar.bz2
tracebox 0.1
Closes #24466. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/tracebox.rb')
-rw-r--r--Library/Formula/tracebox.rb29
1 files changed, 29 insertions, 0 deletions
diff --git a/Library/Formula/tracebox.rb b/Library/Formula/tracebox.rb
new file mode 100644
index 000000000..37fd4764b
--- /dev/null
+++ b/Library/Formula/tracebox.rb
@@ -0,0 +1,29 @@
+require 'formula'
+
+class Tracebox < Formula
+ homepage 'http://www.tracebox.org/'
+ url 'https://drone.io/github.com/tracebox/tracebox/files/tracebox-0.1.tar.gz'
+ sha1 'bb79f17cb799c3b4b1b8f4e3ab0775ae40b2060c'
+
+ depends_on 'lua'
+
+ def 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