homebrew-core/Formula/robodoc.rb

46 lines
1.8 KiB
Ruby

class Robodoc < Formula
desc "Source code documentation tool"
homepage "https://rfsber.home.xs4all.nl/Robo/index.html"
url "https://rfsber.home.xs4all.nl/Robo/archives/robodoc-4.99.44.tar.bz2"
sha256 "3721c3be9668a1503454618ed807ae0fba5068b15bc0ea63846787d7e9e78c0f"
license "GPL-3.0-or-later"
livecheck do
url "https://rfsber.home.xs4all.nl/Robo/archives/"
regex(/href=.*?robodoc[._-]v?(\d+(?:\.\d+)+)\.t/i)
end
bottle do
sha256 arm64_ventura: "a279a45d7a1bfdcba730c3be5811f449807f7eb190990407e3f6a7218f5e6129"
sha256 arm64_monterey: "228f269b8f73406ae0386c01329c95ff14e4a395344e59f93abbfb079fc8cfa4"
sha256 arm64_big_sur: "4dddc1a534d6c0e60601403b9272f84cb14ce2e665e6882b9609b6f7db27d981"
sha256 ventura: "188ca55049ef7179545b9886787b5a68739d5034bb106eafb4ff1a19f7de8554"
sha256 monterey: "429855c906311ee18428eaaa31cafc1c51384f1651fdb010c1678aa24a08b883"
sha256 big_sur: "72127c3a10a58f3a4d1c5eaaae50c33944063d3fe10eb71a95f17c7c32635d44"
sha256 catalina: "8c02f006c5ef0639855d20c284bdc9ce03f2e4ad11e6d4659a75f3080e815abf"
sha256 mojave: "f6cf96a433e670f0e92079848d45062fc93da258c3bda2749464aedb9bffc1f9"
sha256 x86_64_linux: "7664b1da3c0a3d949f7c77cc7307cd16b7ee8c1e6af275e9a4f4d2c229dc2125"
end
head do
url "https://github.com/gumpu/ROBODoc.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
end
def install
system "autoreconf", "-f", "-i" if build.head?
system "./configure", "--prefix=#{prefix}",
"--disable-dependency-tracking",
"--disable-silent-rules"
system "make", "install"
end
test do
cp_r Dir["#{doc}/Examples/PerlExample/*"], testpath
system bin/"robodoc"
end
end