homebrew-core/Formula/scrollkeeper.rb

34 lines
1.3 KiB
Ruby

class Scrollkeeper < Formula
desc "Transitional package for scrollkeeper"
homepage "https://scrollkeeper.sourceforge.io/"
url "https://downloads.sourceforge.net/project/scrollkeeper/scrollkeeper/0.3.14/scrollkeeper-0.3.14.tar.gz"
sha256 "4a0bd3c3a2c5eca6caf2133a504036665485d3d729a16fc60e013e1b58e7ddad"
revision 2
bottle do
sha256 arm64_big_sur: "88e96878a9f7cef658edaf418c55f7c9e6904aead82bd3102384cbdfb342a400"
sha256 big_sur: "0cdfc1e87fe8d2281867eb923dfce700906894f6593a763fe79f4afc936f2ad2"
sha256 catalina: "9bd348638b9e3492db3549c7ac0756975ca2c57303ec58685bb3e6694fff1dd1"
sha256 mojave: "0d7cbee6e25a46848d7c387ba07c4ee110ae2256953d2e5addd26f68e21c645d"
sha256 high_sierra: "efa4637b9d1b3942192dca6fb4602ef72ec6b285ba424c087d290c8feb5e2c5b"
end
depends_on "docbook"
depends_on "gettext"
uses_from_macos "libxslt"
uses_from_macos "perl"
conflicts_with "rarian",
because: "scrollkeeper and rarian install the same binaries"
def install
ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
system "./configure", "--prefix=#{prefix}",
"--mandir=#{man}",
"--with-xml-catalog=#{etc}/xml/catalog"
system "make"
system "make", "install"
end
end