homebrew-core/Formula/tpl.rb
2015-06-05 14:47:57 +01:00

22 lines
673 B
Ruby

require "formula"
class Tpl < Formula
desc "Store and retrieve binary data in C"
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"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
def install
system "autoreconf", "-fvi"
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
system "make", "-C", "tests"
end
end