homebrew-core/Formula/tpl.rb

37 lines
2.2 KiB
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"
license "BSD-1-Clause"
head "https://github.com/troydhanson/tpl.git", branch: "master"
bottle do
sha256 cellar: :any, arm64_ventura: "2bfb6b7bbdfecfa9aa8e25c3841dd9dbc6d333c746792a446ac729536c643475"
sha256 cellar: :any, arm64_monterey: "cd423b01e4be55cc76cfc5c780582519f9583073f8b4e42a823c007cc59805e6"
sha256 cellar: :any, arm64_big_sur: "28d206fb0a8b3d318bbb8281a2cf64cb371f6a78896bc6c4b0b4187a2c109e96"
sha256 cellar: :any, ventura: "b67d07d542d44a4fd9f2bb91e6f080796a264229eaffee4b19fad72295576db5"
sha256 cellar: :any, monterey: "0b544b3ee645924b61bd2a7f2b2d237e02796e26fd57be3688a900b050c7fb33"
sha256 cellar: :any, big_sur: "cdfa3d793f5b6086e7f50abdce45fd21bb869444dc202e285f8c486f18e9f1f8"
sha256 cellar: :any, catalina: "25b8a5fa1deda50c6dd07d69e96dd41e647b78b0f57f2696e5ddd056e509c71b"
sha256 cellar: :any, mojave: "668ff54097397dbf1f934f6fc380611459c1ec0c36336d1058171d4eeb349ad7"
sha256 cellar: :any, high_sierra: "18b15a737709ac6d8ec47963fb02fba255b5e9f6c8968c126dc60bb3a0d7adee"
sha256 cellar: :any, sierra: "1d8a496506b276702c07d594e17b9c7be4f43c1a4651120b765b2015c18bbe54"
sha256 cellar: :any, el_capitan: "a887350815a2791312bdec2ecdf82795d6f54c67f9e76842236e8bb1f507108d"
sha256 cellar: :any_skip_relocation, x86_64_linux: "49c4f470d6782300dd24da0af8a3886cc977a9c24a0de37c606181b3db09e44d"
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