2014-02-15 00:42:38 +00:00
|
|
|
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"
|
|
|
|
|
2014-06-01 01:11:06 +00:00
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "libtool" => :build
|
2014-02-15 00:42:38 +00:00
|
|
|
|
|
|
|
def install
|
2014-06-01 01:11:06 +00:00
|
|
|
system "autoreconf", "-fvi"
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2014-02-15 00:42:38 +00:00
|
|
|
"--disable-silent-rules",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make", "install"
|
2014-06-01 01:11:06 +00:00
|
|
|
system "make", "-C", "tests"
|
2014-02-15 00:42:38 +00:00
|
|
|
end
|
|
|
|
end
|