blob: 278cec893c137fd7e9b72a209faf8d7505347518 (
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 Tpl < Formula
homepage "http://troydhanson.github.io/tpl/"
url "https://github.com/troydhanson/tpl/archive/v1.6.1.tar.gz"
sha1 "2ee92627e8f67400061d8fc606b601988ed90217"
head "https://github.com/troydhanson/tpl.git"
option "with-tests", "Verify the build using the test suite."
depends_on :autoconf
depends_on :automake
depends_on :libtool
def install
system "autoreconf", "-i"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
if build.with? "tests"
cd "tests" do
system "make"
end
end
end
end
|