homebrew-core/Formula/libdshconfig.rb

43 lines
2.4 KiB
Ruby

class Libdshconfig < Formula
desc "Distributed shell library"
homepage "https://www.netfort.gr.jp/~dancer/software/dsh.html.en"
url "https://www.netfort.gr.jp/~dancer/software/downloads/libdshconfig-0.20.13.tar.gz"
sha256 "6f372686c5d8d721820995d2b60d2fda33fdb17cdddee9fce34795e7e98c5384"
license "GPL-2.0-or-later"
livecheck do
url "https://www.netfort.gr.jp/~dancer/software/downloads/"
regex(/href=.*?libdshconfig[._-]v?(\d+(?:\.\d+)+)\.t/i)
end
bottle do
rebuild 1
sha256 cellar: :any, arm64_ventura: "3717933f302d4d371720ea523b77f0fccc3886c9f64e58b085fa8129b70eb2c2"
sha256 cellar: :any, arm64_monterey: "d8ed328326850b16d0398cac9f951616fda597d084ded2363350a998d7105bfd"
sha256 cellar: :any, arm64_big_sur: "7c8ce322c8a67038c0d2eea98640665aad9a4f17dced7d796ac55e271936918a"
sha256 cellar: :any, ventura: "bb3431f4d4aa5994f967ddfb94f567b46d5c5cef1a21ebd22731c6af71dc3f76"
sha256 cellar: :any, monterey: "80190054e7c4562cf68c8e13c09209a3667e06aca3af0e3b51d83adefc519d2d"
sha256 cellar: :any, big_sur: "aa368b8f973143fb64cb762956449fc29d978517519bc12c219351adaf0b9346"
sha256 cellar: :any, catalina: "eb5fb662035498062529345467af13234be5d022ccec9d2b3e2ad3437ff96e04"
sha256 cellar: :any, mojave: "7e2632a44dad0f9eedc38577c8dcb8c11856e036f05ba444a814f8bd93dd47ea"
sha256 cellar: :any, high_sierra: "2000ae2106bb3b10a77b91b75a40dbb6ec60a8aad8de220aa2af69e1a41b905f"
sha256 cellar: :any, sierra: "82fc9db7c3ad20bdcd5681be1075ae4853b6f19caeb41624dac33d53470b2523"
sha256 cellar: :any, el_capitan: "a26ea1d1cefed24fd890bbc65f9a11d171cdbcb1c00936562255e2adfe29205f"
sha256 cellar: :any_skip_relocation, x86_64_linux: "4ad27e681ca7e49ff1b99f92fe3a62ecd6edd34bfb3fbc0f4f8cbc9ad386cc86"
end
on_macos do
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
end
def install
# Run autoreconf on macOS to fix -flat_namespace usage.
system "autoreconf", "--force", "--verbose", "--install" if OS.mac?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
end