27 lines
992 B
Ruby
27 lines
992 B
Ruby
class Tpl < Formula
|
|
desc "Store and retrieve binary data in C"
|
|
homepage "https://troydhanson.github.io/tpl/"
|
|
url "https://github.com/troydhanson/tpl/archive/v1.6.1.tar.gz"
|
|
sha256 "0b3750bf62f56be4c42f83c89d8449b24f1c5f1605a104801d70f2f3c06fb2ff"
|
|
head "https://github.com/troydhanson/tpl.git"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "a887350815a2791312bdec2ecdf82795d6f54c67f9e76842236e8bb1f507108d" => :el_capitan
|
|
sha256 "2587ed48c7a6ff2c309e688695c79d845b5fe2a06eae1189dc1c9de21f9bceaa" => :yosemite
|
|
sha256 "237a01785ea7f81c9977440e6d1ede64fa109a060aa855a938a6f11f6f187d4a" => :mavericks
|
|
end
|
|
|
|
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
|