2013-11-19 00:14:06 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Tracebox < Formula
|
|
|
|
homepage 'http://www.tracebox.org/'
|
2014-03-14 15:54:09 +00:00
|
|
|
head 'https://github.com/tracebox/tracebox.git'
|
|
|
|
url 'https://github.com/tracebox/tracebox.git', :tag => 'v0.2'
|
2013-11-19 00:14:06 +00:00
|
|
|
|
2014-03-17 07:23:55 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "ec8033c2cd6db48f747cb0d3a1881ae90bccfd81" => :mavericks
|
|
|
|
sha1 "08425c77bfbae29a31f4b60acbc614235023a6e7" => :mountain_lion
|
|
|
|
sha1 "9a71c329fad5e6e39108e198506fa0b8b2d40e6c" => :lion
|
|
|
|
end
|
|
|
|
|
2014-06-01 01:39:28 +00:00
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "libtool" => :build
|
|
|
|
depends_on "lua"
|
2013-11-19 00:14:06 +00:00
|
|
|
|
|
|
|
def install
|
2014-03-14 15:54:09 +00:00
|
|
|
ENV.append "AUTOHEADER", "true"
|
|
|
|
system "autoreconf", "--install"
|
2013-11-19 00:14:06 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--disable-silent-rules",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
2014-03-17 09:59:11 +00:00
|
|
|
tracebox requires superuser privileges e.g. run with sudo.
|
2013-11-19 00:14:06 +00:00
|
|
|
|
2014-03-17 09:59:11 +00:00
|
|
|
You should be certain that you trust any software you are executing with
|
|
|
|
elevated privileges.
|
2013-11-19 00:14:06 +00:00
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|